Reputation: 1505
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
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