Search code examples
macoscocoaanimationcore-animation

Rotate Custom View in Mac OSX project


I have to rotate a custom view in mac project.How can i achieve it.enter image description here

what i need to do when touch images it should rotate from left to right.Images are on custom view any advise would be highly appreciated. Thanks.


Solution

  • Here you can see examples for NSView: http://digerati-illuminatus.blogspot.com/2009/09/how-do-you-rotate-nsbutton-nstextfield.html