Re: Change duration of a running CAAnimation?
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