Re: Ignoring windowWillClose on app termination
Re: Ignoring windowWillClose on app termination
- Subject: Re: Ignoring windowWillClose on app termination
- From: Neil Earnshaw <email@hidden>
- Date: Thu, 21 Aug 2003 22:39:47 +0100
Get your object to execute:
[[NSNotificationCenter defaultCenter] removeObserver:self];
or get someone else to do it on their behalf.
Or [naughtyWindow setDelegate:nil] might work?
See "Re: Delegate methods[SOLVED] from yesterday more detail.
-Neil
On Thursday, August 21, 2003, at 08:50 PM, Jesus De Meyer wrote:
I just discovered that when I choose to quit my application an object
responds to a windowWillClose notification. How do I prevent my
application from doing this?
_______________________________________________
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.
Neil Earnshaw
Consultant Software Engineer
Object Software Engineers Ltd
email@hidden
Tel : 01747 854 852
Mbl : 07870 209 102
_______________________________________________
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.