When generating Core Data subclasses I check to use primitive data type in Core Data storage.
Which NSTimeInterval
representation should I convert from NSDate
? Or it does not matter, just use appropriately when reading / writing the same managed object attribute?
I prefere to use like: mo.creationDate = date.timeIntervalSinceReferenceDate