• 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: Change duration of a running CAAnimation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change duration of a running CAAnimation?


  • Subject: Re: Change duration of a running CAAnimation?
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 26 Nov 2010 09:14:59 -0800

On Nov 26, 2010, at 9:07 AM, Oleg Krupnov wrote:

> Thanks Matt! I have already found another solution that worked pretty
> well: Instead of using the repeatCount property, I set a delegate on
> the animation and add another animation manually each time the
> previous one ends (animationDidEnd: finished:). In this way I can
> fully control the fromValue and toValues of each loop of the
> animation.


It sounds as if looking at Apple's Metronome example at the start would have helped you here. :) m.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tidbits.com/matt/default.html#applescriptthings
Take Control of Exploring & Customizing Snow Leopard
http://tinyurl.com/kufyy8
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com


_______________________________________________

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: 
 >Re: Change duration of a running CAAnimation? (From: Matt Neuburg <email@hidden>)
 >Re: Change duration of a running CAAnimation? (From: Oleg Krupnov <email@hidden>)

  • Prev by Date: respondsToSelector & "warning: may not respond"
  • Next by Date: Re: respondsToSelector & "warning: may not respond"
  • Previous by thread: Re: Change duration of a running CAAnimation?
  • Next by thread: Saving a file in a new folder
  • Index(es):
    • Date
    • Thread