CALayer and CAAnimation's dynamic resolution of unimplemented property accessors
问题 I found that CALayer and CAAnimation don't only extend the NSKeyValueCoding protocol as described in Core Animation Extensions To Key-Value Coding, but also offer dynamic resolution for unimplemented property accessors. For example: @interface DotLayer : CALayer @property (nonatomic, retain) id dot; @end @implementation DotLayer @dynamic dot; @end Simply with a property declaration and stating it is @dynamic , I can access dot property without implementing its accessors: DotLayer *layer =