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>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…