• 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: opposite of +initlialize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opposite of +initlialize


  • Subject: Re: opposite of +initlialize
  • From: "John C. Randolph" <email@hidden>
  • Date: Fri, 16 May 2003 11:28:11 -0700

On Thursday, May 15, 2003, at 11:00 PM, Francisco Tolmasky wrote:

You know how +initialize get sent to every class, is there an equivalent that happens when the program closes, an uninitialize message?

The application's delegate will get a -applicationWillTerminate: message if it has a method by that name. Also, there is a notification you can sign up for, called "NSApplicationWillTerminateNotification".

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >opposite of +initlialize (From: Francisco Tolmasky <email@hidden>)

  • Prev by Date: Re: Speed Traps
  • Next by Date: Re: Saving a NSMutableArray
  • Previous by thread: Re: opposite of +initlialize
  • Next by thread: Method to fill with "Aqua"
  • Index(es):
    • Date
    • Thread