Re: Cocoa Cleanup
Re: Cocoa Cleanup
- Subject: Re: Cocoa Cleanup
- From: Greg Hulands <email@hidden>
- Date: Fri, 7 Feb 2003 09:03:34 +1000
Set your controller as a delegate to the files owner in IB. Then you
can get the - (NSApplicationTerminateReply) applicationShouldTerminate:
(NSApplication *) sender
Then do you clean up in this method
Greg
On Friday, February 7, 2003, at 07:12 AM, 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. The dealloc messages are not
>
getting called by the nib for the UIController class so I don't know
>
when the app is about to quit.
>
_______________________________________________
>
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.
_______________________________________________
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.