mikywan
mikywan

Reputation: 1505

NSImageCell rotation animation

I need to animate an NSImageCell on an NSOutlineView. I want it to look as the Sync Icon next to the device on iTunes.

Any ideas?

Upvotes: 0

Views: 286

Answers (1)

Chance Hudson
Chance Hudson

Reputation: 2859

Ok, i just spent like 30 minutes researching this :-). The best way to do this is with an NSImageView, because you can just call +setFrameCenterRotation:(float) with the animator like so.

    NSImageView *v = [whatever];
    [[v animator] setFrameCenterRotation:(float)whateverYouWant];

Upvotes: 1

Related Questions