I downloaded the Smasthag demo app from course\'s site. Project builds fine (after small changes in Twitter, TwitterRequest etc. classes, because I use the latest Xcode 7b4) and
To fix this issue you should set locale to en_US.
Change the private extension asTwitterDate in Tweet.swift to the following to fix issue on non en_US devices.
...
private extension String {
var asTwitterDate: NSDate? {
get {
let dateFormatter = NSDateFormatter()
dateFormatter.dateFormat = "EEE MMM dd HH:mm:ss Z yyyy"
dateFormatter.locale = NSLocale(localeIdentifier: "en_US")
let createdAt = dateFormatter.dateFromString(self)
return createdAt
}
}
}
After this your application should load and show all data correctly.