I'm trying to figure out the right way to continuously animate the frameRotation of a layer-backed NSView.
In particular, I'm basically trying to re-create how the new Launchpad animates when you click and hold an icon. The event handling isn't the problem, it's the actual repeating animation.
So far, I've used NSTimer to animate the frameRotation back and forth using the view's animator proxy. While this works, it seems to be resource intensive and I'm sure NSAnimation could be used for this.
I'm just wondering if someone can point me in the right direction here.
EDIT: This doc here: http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/AnimationGuide/Articles/ViewAnimations.html#//apple_ref/doc/uid/TP40003593-DontLinkElementID_7
only discusses the view's frame rect and alpha value. So I'm not sure how to use this for frameRotation
Kind regards, Alec