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>
精彩评论