Re: CABasicAnimation, CALayers, and rotation
Re: CABasicAnimation, CALayers, and rotation
- Subject: Re: CABasicAnimation, CALayers, and rotation
- From: Matt Long <email@hidden>
- Date: Tue, 4 Nov 2008 18:16:03 -0700
Others have answered the question, but here's some code. Gotta love
code. ;-)
http://www.cimgf.com/2008/10/25/core-animation-tutorial-slider-based-layer-rotation/
-Matt
On Nov 4, 2008, at 5:30 PM, Michael A. Crawford wrote:
By default, positive angle values assigned to a rotation animation
result in counter clockwise rotation. Is there a way to cause the
rotation to occur in the clock-wise direction, with positive
values? For example, consider a needle rotating in a compass. As
the needle rotates in a clockwise direction the value that the
needle points to increases (up until it wraps around, of course).
-Michael_______________________________________________
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden