Re: CALayer Transitions
Re: CALayer Transitions
- Subject: Re: CALayer Transitions
- From: Kyle Sluder <email@hidden>
- Date: Mon, 16 Nov 2009 10:25:07 -0800
On Mon, Nov 16, 2009 at 9:23 AM, Matt Neuburg <email@hidden> wrote:
> On Sun, 15 Nov 2009 22:38:04 -0600, Gordon Apple <email@hidden> 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 (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