Things I learned: Core Data Dates

If using primitive types, Core Data presents dates as NSTimeInterval instead of NSDate. I sort of knew this. No problem.

When setting value for this property – MUST use timeIntervalSinceReferenceDate.

I did not know this.

 
1
Kudos
 
1
Kudos

Now read this

A Possible NSUserDefaults Alternative

It is often the case that we need to persist a few bits of info or at least a single object, like a “user”. Core data is too big for this, NSUserDefaults is sometimes not the best practice use case, and does not provide compiler... Continue →