Thanks
Thanks

Reputation: 40359

How can I add Core Animation framework to my Xcode project?

I just can't find that framework for adding it. Any ideas?

Upvotes: 15

Views: 10492

Answers (4)

Genki
Genki

Reputation: 3195

  1. Click on your project in project navigator.
  2. Click on the target.
  3. Click on "build phases" tab.
  4. Expand "Link Binary with Libraries".
  5. Click "+" to add.

Upvotes: 1

Brad Larson
Brad Larson

Reputation: 170317

Also, make sure that you do an

#import <QuartzCore/QuartzCore.h>

before using any Core-Animation-specific classes, etc.

Upvotes: 10

Alex Rozanski
Alex Rozanski

Reputation: 38015

You need to add the QuartzCore framework to your project.

Upvotes: 7

Jason Coco
Jason Coco

Reputation: 78393

Add the QuartzCore framework. It contains CoreAnimation.

Upvotes: 31

Related Questions