On Mon, Nov 16, 2009 at 9:23 AM, Matt Neuburg <m...@tidbits.com> wrote: > On Sun, 15 Nov 2009 22:38:04 -0600, Gordon Apple <g...@ed4u.com> said: >> What I don't understand, is that, according to the core animation guide, >>kCATransition seems to be what I want for a key instead of "sublayers". The >>guide says this is triggered by "replaceSublayer: with:". However, stepping >>it through, I never see this key come through the delegate. > > You seem to be imagining that you can call addAnimation:forKey: and then the > animation will just lurk there, waiting for something called the "key" to > come along, and then the animation will trigger. That is not what > addAnimation:forKey: does, and it isn't what the "key" means.
No, I believe now he is talking about the delegate method -actionForLayer:forKey:, and wondering why he never gets a key of kCATransition, instead getting one for @"sublayers". This runs contrary to the documentation. --Kyle Sluder _______________________________________________ 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