UIView-layer addAnimation:forKey:
Since the value of forKey is a NSString, where do I find a complete list of all possible value in the Apple d开发者_开发技巧ocumentation? Thanks
The method addAnimation:forKey: doesn't do what you think it does.
The second string parameter is an arbitrary user-defined string to associate with the animation object. The purpose of this parameter is for accessing the animation object at a later time with the animationForKey: method.
The list of animatable properties provided above/below is pertinent to the keyPath property of a CABasicAnimation instance.
List of animatable properties of CALayer:
http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/CoreAnimation_guide/Articles/AnimProps.html#//apple_ref/doc/uid/TP40005942-SW1
and/or here
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/AnimProps.html#//apple_ref/doc/uid/TP40005942-SW1
加载中,请稍侯......
精彩评论