Re: Cocoa Cleanup
Re: Cocoa Cleanup
- Subject: Re: Cocoa Cleanup
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 6 Feb 2003 15:20:09 -0800
On Thursday, February 6, 2003, at 01:12 PM, email@hidden wrote:
How do I know when my Cocoa application using a .nib file is about to
quit so I can release my sockets.
Set NSApplication's delegate to one of your objects if you haven't done
so already, and implement the following method in the delegate object:
- (void)applicationWillTerminate:(NSNotification *)aNotification
That function will then be called when the application is about to quit.
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
#include <stdsignature.h>
_______________________________________________
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.