• 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: The good place for add code for doing sth. before quit application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The good place for add code for doing sth. before quit application


  • Subject: Re: The good place for add code for doing sth. before quit application
  • From: Scott Anguish <email@hidden>
  • Date: Fri, 14 Sep 2001 14:36:11 -0400

there are messages that are sent to the application's delegate when an app will terminate

look at the delegate documentation in NSApplication

On Friday, September 14, 2001, at 12:49 PM, email@hidden wrote:

Hello all,
My application need to do something before it quit. I wonder where is the best place to add the code for this purpose. Should I add in dealloc() of the controller class or anywhere else?


References: 
 >The good place for add code for doing sth. before quit application (From: email@hidden)

  • Prev by Date: know what this build error means...?
  • Next by Date: Re: Mixing Obj-C & Java in same Cocoa app?
  • Previous by thread: Re: The good place for add code for doing sth. before quit application
  • Next by thread: Re: cocoa-dev digest, Vol 1 #581 - 19 msgs
  • Index(es):
    • Date
    • Thread