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

NSNotificationCenter removeObserver NOT working


  • Subject: NSNotificationCenter removeObserver NOT working
  • From: "Valentin Dan" <email@hidden>
  • Date: Thu, 4 Sep 2008 05:51:42 -0400
  • Thread-topic: NSNotificationCenter removeObserver NOT working

Hi,



I'm trying to remove all notifications that have a certain object and I
can't seem to get that to work. I'm doing something like this:



[[NSNotificationCenter defaultCenter] removeObserver:nil name:nil
object:myObject];



The notifications for this sender keep coming and that causes a problem.
How can I fix that ?



Thanks!



_______________________________________________________________________

Valentin Dan, Software Developer                 Direct: +1 905 886 1833
ext.3047

Email: email@hidden                 Office: +40 356-710158

Masstech Group Inc.                              Fax:    +40 256-220912

http://www.masstechgroup.com <http://www.masstechgroup.com/>



THIS MESSAGE IS INTENDED ONLY FOR THE ADDRESSEE. IT MAY CONTAIN
PRIVILEGED OR CONFIDENTIAL INFORMATION.ANY UNAUTHORIZED DISCLOSURE IS
STRICTLY PROHIBITED.IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE
NOTIFY US IMMEDIATELY SO THAT WE MAY CORRECT THE RECORDS. PLEASE THEN
DELETE THE ORIGINAL MESSAGE. THANK YOU.







_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSNotificationCenter removeObserver NOT working
      • From: "Michael Ash" <email@hidden>
    • Re: NSNotificationCenter removeObserver NOT working
      • From: "Ken Ferry" <email@hidden>
  • Prev by Date: Re: What Size My Window?
  • Next by Date: Re: NSNotificationCenter removeObserver NOT working
  • Previous by thread: Re: What Size My Window?
  • Next by thread: Re: NSNotificationCenter removeObserver NOT working
  • Index(es):
    • Date
    • Thread