NSImageCell rotation animation

286 views Asked by At

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?

1

There are 1 answers

2
Chance Hudson On

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];