I can't figure 开发者_如何学Pythonout where core animation on iPhone OS 3.1.2 is defined.
Anybody know?
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.
it is defined in QuartzCore/CoreAnimation.h
精彩评论