-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 5/19/11 9:45 AM, Nick wrote: > I haven't noticed that all the examples you gave me were about iPhone. > I forgot to mention that i am writing an Mac OS X application.. > > >> How about removing it from its superview after the animation ends? >> >> Mikkel >> >> > > Yes, that's what i want to do, but how to find out when the animation ends?
Check out that -animationDidStop:finished: delegate method for CAAnimation. I haven't really followed developments on OS X closely, so I welcome other list members setting me straight, but AFAIK the block based animation scheme available on iOS 4+ that makes code for what you are trying to do trivial (and easier to read) is unavailable in OS X. - -- Conrad Shultz Synthetiq Solutions www.synthetiqsolutions.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFN1UvmaOlrz5+0JdURAmNjAJ9C6XrFHj6IZBm5G/RiHDt6hUl4xgCdH3qN cYEi5nWTqa/MSzJap8G3gkc= =MlyG -----END PGP 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 arch...@mail-archive.com