I'm using -defaultActionForKey: to add an animation when a sublayer is removed from its parent. My animation is never used and instead the sublayer fades out (which I assume is the default). But if I add the animation to kCAOnOrderIn it works as I expect.
My sublayer class's defaultActionForKey: implementation looks like this: + (id<CAAction>)defaultActionForKey:(NSString *)key { if ([key isEqualToString:kCAOnOrderOut]) { return [MyAnimation animation]; } return [super defaultActionForKey:key]; } What do I need to do to change the order out animation? Thanks, Dion Crannitch _______________________________________________ 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]