开发者

How to add Quartz Core Framework in new Xcode 3.2?

开发者 https://www.devze.com 2022-12-08 06:37 出处:网络
Since new Xcode 3.2 I find it very hard to add Quartz Core Framework. It does not appear in the list. Previously I just typed in Quartz and some QuartzCore.framework thing popped up. Finder is so bad

Since new Xcode 3.2 I find it very hard to add Quartz Core Framework. It does not appear in the list. Previously I just typed in Quartz and some QuartzCore.framework thing popped up. Finder is so bad it does not find any *.framework file on the mac so now the big quest开发者_JAVA百科ion is: Where is it hidden?


On the left side of XCode, there is a folder called Targets. Expand it. Double click on your target in that folder. On the General Tab of the info pane that pops up, click the + sign on the bottom left corner of the window. Scroll down and select QuartzCore.framework

You will also have to make sure your base SDK is 3.x

UPDATE: to use, place this import statement in your code
#import <QuartzCore/CoreAnimation.h>

0

精彩评论

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

关注公众号