• 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: Simultaneous CoreAnimations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simultaneous CoreAnimations


  • Subject: Re: Simultaneous CoreAnimations
  • From: Patrick Mau <email@hidden>
  • Date: Sun, 02 Nov 2008 21:57:07 +0100

On 02.11.2008, at 20:10, Jeshua Lacock wrote:
Hello again,

Hi Jeshua

I have one question - hopefully not for myself this time. :)

Is there a callback or some way to determine when a CAKeyframeAnimation has finished playing? Or do I need to set up a timer and calculate when a animation has played (assuming the repeatCount is set to 1)?

I would like to be able to reuse my array of CAKeyframeAnimations, but I only want to reuse them if they have finished playing a given animation...

Have a look the abstract class 'CAAnimation' that invokes this delegate method:


- (void)animationDidStop:(CAAnimation *)theAnimation finished:(BOOL)flag

It also indicates if the animation did stop on its own or has been
removed. Simply implement this message in the CALayers delegate.

Regards
Patrick
_______________________________________________

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: Simultaneous CoreAnimations
      • From: Jeshua Lacock <email@hidden>
References: 
 >Re: Simple Flipbook Animation? (From: Jeshua Lacock <email@hidden>)
 >Re: Simple Flipbook Animation? (From: Matt Long <email@hidden>)
 >Re: Simple Flipbook Animation? (From: Jeshua Lacock <email@hidden>)
 >Simultaneous CoreAnimations (From: Jeshua Lacock <email@hidden>)
 >Re: Simultaneous CoreAnimations (From: Jeshua Lacock <email@hidden>)
 >Re: Simultaneous CoreAnimations (From: Jeshua Lacock <email@hidden>)
 >Re: Simultaneous CoreAnimations (From: Jeshua Lacock <email@hidden>)

  • Prev by Date: Re: Simultaneous CoreAnimations
  • Next by Date: Re: Simultaneous CoreAnimations
  • Previous by thread: Re: Simultaneous CoreAnimations
  • Next by thread: Re: Simultaneous CoreAnimations
  • Index(es):
    • Date
    • Thread