let cell = self.tableView.dequeueReusableCell(withIdentifier: "surveyCell", for: indexPath) as UITableViewCell
2016-11-19
Could not cast value of type 'UIViewController' (0x1071dbec8) to 'image.UIViewControllers' (0x105583c60).
(lldb)
(lldb)
2016-11-07
这里最新的swift语法会报错,需要转换一下
let components = gregorian?.components(NSCalendar.Unit.year, from: birthDay.date, to: date as Date, options: NSCalendar.Options.init(rawValue: 0))
let components = gregorian?.components(NSCalendar.Unit.year, from: birthDay.date, to: date as Date, options: NSCalendar.Options.init(rawValue: 0))
2016-10-06