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

Swift: map vs. flatMap For Dummies

tl;dr Summary # This is me, figuring out how map and flatMap work in Swift. tl;dr Conclusions: # Think of optionals as an array that can hold 1 or 0 items. Arrays and optionals are both containers that can have map or flatMap applied map... Continue →