Skip navigation.
 
mlRe: applicationWillTerminate and animations
FROM : Troy Stephens
DATE : Thu Mar 27 21:49:04 2008

On Mar 27, 2008, at 7:14 AM, Mitchell Livingston 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?
>
> Thank you,
> Mitchell Livingston


You'd need to do this earlier, before your windows close, and would 
also need to delay their closure to allow the fade animation time to 
complete.

I'd recommend against such a "feature" though.  Keeping an app 
responsive to the user's request to quit seems more valuable to me.

--
Troy Stephens
Cocoa Frameworks
Apple, Inc.

Related mailsAuthorDate
mlapplicationWillTerminate and animations Mitchell Livingsto… Mar 27, 15:14
mlRe: applicationWillTerminate and animations Sherm Pendley Mar 27, 15:29
mlRe: applicationWillTerminate and animations Troy Stephens Mar 27, 21:49