Hi all,
I've been playing with CA and I tried to set up one my objects as the
delegate for the frame change animation for an NSWindow by using the
following code:
CABasicAnimation* anim = [window animationForKey:@"frame"];
anim.delegate = self;
[[window animator] setFrame:NSMakeRect(400, 500, 500, 500) display:YES];
Using this, the window correctly animates but the delegate methods
(namely animationDidStop:finished: and animationDidStart:) for the
CAAnimation do not get called. When I use the exact same piece of code
for setting the delegate of view animations, the delegates do get
called.
Thanks,
M
_______________________________________________
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]