On Thu, Mar 27, 2008 at 10:14 AM, Mitchell Livingston <[EMAIL PROTECTED]>
wrote:

> Hello,
>
> When my program quits, I would like to fade out all the windows using
> the animator. When I put this code in the applicationWillTerminate:
> method, however, it appears to be called but doesn't animate. How
> would I got about to get this to work?


I'd try putting it in applicationShouldTerminate:, and return
NSTerminateLater to give the app time to run the fade-out animation. Then,
when the animation completes, you can call [NSApp
replyToApplicationShouldTerminate:YES].

sherm--
_______________________________________________

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]

Reply via email to