agentfll
agentfll

Reputation: 858

Where is core animation defined?

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

Anybody know?

Upvotes: 8

Views: 6127

Answers (2)

Brad Larson
Brad Larson

Reputation: 170317

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.

Upvotes: 29

agentfll
agentfll

Reputation: 858

it is defined in QuartzCore/CoreAnimation.h

Upvotes: 4

Related Questions