On Nov 2, 2008, at 11:53 AM, Jeshua Lacock wrote:

On Nov 2, 2008, at 11:38 AM, Jeshua Lacock wrote:

It just occurred to me that I probably need my CAKeyframeAnimation declaration to be an array with a capacity to support the maximum number of animations I might have, and then use an available CAKeyframeAnimation to use for each occurrence of the animation. Going to test my theory out now...

Yes - that does the trick! I also had to create an array for my CALayers, because each one has to be in a different location....

I apologize for the wasted bandwidth - maybe it might help someone in the future...


Hello again,

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...


Thanks,

Jeshua Lacock
Founder/Programmer
3DTOPO Incorporated
<http://3DTOPO.com>
Phone: 877.240.1364

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to