开发者

Where is core animation defined?

开发者 https://www.devze.com 2022-12-24 15:49 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号