Re: NSImageView + NSViewAnimation
Re: NSImageView + NSViewAnimation
- Subject: Re: NSImageView + NSViewAnimation
- From: Shawn Erickson <email@hidden>
- Date: Mon, 18 Jun 2007 07:24:19 -0700
On Jun 18, 2007, at 6:00 AM, Andreas Mayer wrote:
Am 17.06.2007 um 20:27 Uhr schrieb Brian Amerige:
[anImageViewAnimation startAnimation];
[anImageViewAnimation release];
Anything obvious I'm missing as to why this isn't moving?
Because you release the animation object before it is able to do
anything?
Nope. When you send an animation "startAnimation" it retains itself
until after it is done animating.
"The receiver retains itself and is then autoreleased at the end of
the animation or when it receives stopAnimation."
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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