Custom Animatable Property

Last Revision:
Version 1.0, 2014-04-02
Leverage Core Animation timing and rendering callback to implement custom animatable properties for a CALayer subclass.
Build Requirements:
Xcode 5 or later
Runtime Requirements:
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.