views:

159

answers:

2

I cant figure out where core animation on iPhone OS 3.1.2 is defined.

Anybody know?

+1  A: 

it is defined in QuartzCore/CoreAnimation.h

agentfll
+1  A: 

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.

Brad Larson