开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜