• 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
removeObserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

removeObserver


  • Subject: removeObserver
  • From: Benoit Widemann <email@hidden>
  • Date: Wed, 17 Jul 2002 20:52:46 +0200

My application delegate installs several notification observers, each for a different string, each calling a different selector.

What is the best way to cleanup at quit time?

[[NSDistributedNotificationCenter defaultCenter] removeObserver: myDelegate];
Does this removes all the observers at once?

Benoit Widemann
_______________________________________________
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.

  • Prev by Date: Re: [Seriously OT]Mac.com 60 days and counting
  • Next by Date: [SOLVED] Re: [again] Add dynamically tool tip in NSMatrix
  • Previous by thread: [SOLVED] Re: [again] Add dynamically tool tip in NSMatrix
  • Next by thread: Putting an Image Cell in NSTableView
  • Index(es):
    • Date
    • Thread