• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: applicationWillTerminate and animations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applicationWillTerminate and animations


  • Subject: Re: applicationWillTerminate and animations
  • From: Troy Stephens <email@hidden>
  • Date: Thu, 27 Mar 2008 13:49:04 -0700

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.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >applicationWillTerminate and animations (From: Mitchell Livingston <email@hidden>)

  • Prev by Date: Static in Subclasses
  • Next by Date: Re: NSScroller question
  • Previous by thread: Re: applicationWillTerminate and animations
  • Next by thread: NSMapTable with pointer keys ?
  • Index(es):
    • Date
    • Thread