How to animate a non-layer property? [duplicate]
Is there a way to animate properties of my own classes, using the property animation facilities provid开发者_如何学Pythoned by Core Animation?
No, unless these properties wrap calls to animatable properties themselves; for example, a "appearance" property whose setter modifies the "transform" and "alpha" properties, can be animated in an animation context.
Check out for "animatable properties" in the SDK documentation to know which properties can be animated; you can't add more to this list.
精彩评论