Re: opposite of +initlialize
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.