Custom Animatable Property
Version 1.0, 2014-04-02
Leverage Core Animation timing and rendering callback to implement custom animatable properties for a CALayer subclass.
Xcode 5 or later
iOS 7 or later
Shows how to leverage Core Animation’s timing and rendering callbacks to implement custom animatable properties for CALayer subclasses. This technique is supported whether your CALayer subclass belongs to a UIView or is standalone. Both explicit and implicit animation triggers are demonstrated, as well as basic and keyframe animation types.