Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between CAAnimation, CABasicAnimation, CAKeyFrameAnimation and the standard [UIView beginAnimations] Core Animation stuff?

Are all these things basically the same? I did the exact same thing now with CAAnimation rather than using an simple UIView animation block. What are the big differences?

like image 598
Thanks Avatar asked Jul 21 '09 13:07

Thanks


1 Answers

They are all interfaces to Core Animation. The various interfaces generally trade off simplicity versus control. Everything that you can do with a UIView animation block can be done with a CAKeyFrameAnimation, but you'll probably write more code to do to.

like image 94
Rob Napier Avatar answered Sep 25 '22 17:09

Rob Napier