Rotating an NSImageView

Just like the title says, I’m trying to rotate an NSImageView a variable degrees (clockwise or counter won’t really make a difference). I’ve tried just about everything, including CAAnimation, but I can’t seem to figure it out. If someone could give me some help with the matter, that would be amazing. Thanks!

~Josh

Hi chumponimys,

Have a look at this. I finally got my image rotating, but I’ve given up for the animation.

http://macscripter.net/viewtopic.php?id=36296

Good luck!

setFrameCenterRotation!! Gahh I’ve been hunting everywhere for the right function and it was just hiding in NSView. Thank you so much fiz!