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

Finally (?) Understanding Bounds, Frames, and Positions Thanks to Misunderstanding CAShapeLayers, CGPaths and Lines

I will try to keep this short so that I can get this post out. TL;DR # CAShapeLayer is a canvas upon which you can draw CGPath. It’s bounds, and position must be set manually. The easiest way to do that is CGPathGetBoundingBox(path);... Continue →