• 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: Ignoring windowWillClose on app termination
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Ignoring windowWillClose on app termination (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Title Bar placement
  • Next by Date: Re: Synchronous method: How to "wait" for Notification to occur?
  • Previous by thread: Ignoring windowWillClose on app termination
  • Next by thread: Title Bar placement
  • Index(es):
    • Date
    • Thread