Search code examples
iphoneobjective-ciosxcodeipad

CABasicAnimation keys


I'm trying to know what are all the possible keys used in CABasicAnimation

like this one:

CABasicAnimation *imageRotation = [CABasicAnimation animationWithKeyPath:@"transform.rotation"];

which makes a rotation ... where can I find all possible keys? and thanks in forward


Solution

  • Have you considered looking up the class reference for CABasicAnimation, and its corresponding super classes?

    CABasicAnimation: https://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CABasicAnimation_class/Introduction/Introduction.html

    CAPropertyAnimation https://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CAPropertyAnimation_class/Introduction/Introduction.html#//apple_ref/occ/cl/CAPropertyAnimation

    CAAnimation https://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CAAnimation_class/Introduction/Introduction.html#//apple_ref/occ/cl/CAAnimation