Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is core animation defined?

I can't figure out where core animation on iPhone OS 3.1.2 is defined.

Anybody know?

like image 567
agentfll Avatar asked Mar 27 '10 03:03

agentfll


2 Answers

Actually, it is recommended that you use

#import <QuartzCore/QuartzCore.h>

and then add the QuartzCore framework to your project to make use of low-level Core Animation classes.

Even though all it does is effectively import CoreAnimation.h on the iPhone, on the Mac QuartzCore also includes Core Image and Core Video, so Apple may add these and other capabilities to the QuartzCore framework on the iPhone in the future. Frankly, Apple recommends using the above include for Core Animation, so I defer to them.

like image 175
Brad Larson Avatar answered Nov 02 '22 09:11

Brad Larson


it is defined in QuartzCore/CoreAnimation.h

like image 35
agentfll Avatar answered Nov 02 '22 10:11

agentfll