On 16 Mar '08, at 9:43 AM, Joachim Deelen wrote:

maybe the Delegation Method:
- (void)animationDidStop:(CAAnimation *)animation finished: (BOOL)finished;
is what you are looking for?!

It would be, if I had a CAAnimation object. But I don't. All I did was something like "layer.position = newPos". That creates an implicit animation behind the scenes, but I don't see any way to get the object corresponding to that animation, so I have no way of tracking its progress.

(And yes, I could change that line of code to explicitly create a CAAnimation instead. But I have tons of code all over my project that creates implicit animations, and changing all of it is totally impractical.)

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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