• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CABasicAnimation, CALayers, and rotation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CABasicAnimation, CALayers, and rotation


  • Subject: Re: CABasicAnimation, CALayers, and rotation
  • From: "Michael A. Crawford" <email@hidden>
  • Date: Tue, 04 Nov 2008 18:26:56 -0800

Thanks for the code reference, Matt. I'll go look it up after I reply to this thread. I think I'm just going to use Graham's suggestion, to multiply by -1. This seems to give me the behavior I'm looking for.

-Michael


On Nov 4, 2008, at 5:16 PM, Matt Long wrote:

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_______________________________________________


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >CABasicAnimation, CALayers, and rotation (From: "Michael A. Crawford" <email@hidden>)
 >Re: CABasicAnimation, CALayers, and rotation (From: Matt Long <email@hidden>)

  • Prev by Date: Re: Use PPPOE to load net
  • Next by Date: Re: Spin Progress Indicator is not spinning
  • Previous by thread: Re: CABasicAnimation, CALayers, and rotation
  • Next by thread: Downloading a pls file
  • Index(es):
    • Date
    • Thread