• 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
CALayer question regarding sequence of animations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CALayer question regarding sequence of animations


  • Subject: CALayer question regarding sequence of animations
  • From: Steve Sheets <email@hidden>
  • Date: Tue, 13 Nov 2007 15:10:43 -0500

Good evening all...

Using CAAction or CATransaction, can you create a sequence of animation (usually changing a CALayer's property) that occur one after another?

I know you can modify the duration of a single animation using CATransaction, even eliminate the animation all together. You can also group a set of animations, so that each one starts at the same time. However, I want to create a two or more animations that follow one other, without having to resort to a NSTimer or such. I want to be able to create this animation in single code segment (not require timers or callbacks).

For example, I want to create an animation that make a hidden layer appear (aLayer.hidden=FALSE), moves it to a new position (aLayer. position=CGPointMake(100.0,100.0), and then fades it back out (aLayer. hidden=TRUE).

Any thoughts?

Steve Sheets
Midnight Mage Software

_______________________________________________

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


  • Follow-Ups:
    • Re: CALayer question regarding sequence of animations
      • From: Troy Stephens <email@hidden>
  • Prev by Date: Re: The New IB
  • Next by Date: _objc_setProperty ObjC2.0 compile error ?
  • Previous by thread: Re: Test Cases + Nib files
  • Next by thread: Re: CALayer question regarding sequence of animations
  • Index(es):
    • Date
    • Thread