• 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
addObserver and multiple registrations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

addObserver and multiple registrations


  • Subject: addObserver and multiple registrations
  • From: Berbie <email@hidden>
  • Date: Mon, 12 Sep 2005 17:06:15 +0200

Hi everybody. Is was looking around the list and did not find the right keywords to the answer of my following question. Maybe someone has a pointer:

If is use [receiver addObserver…] the receiver and observed object is added to the notification center under the given context.

My question: Is there a way to determine if the observed object is already registered with the receiver and the given content?

I saw that there is an internal data-structure that I can log, but I did not find any api to access it in a way to find out what I am asking for.

The reason is that I just want to prevent multiple notifications to the observer for basically one event.

thanks

-berbie. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Newbie: Advice needed on "XML App"
  • Next by Date: Re: Newbie: Advice needed on "XML App"
  • Previous by thread: Re: disable VoiceOver?
  • Next by thread: Re: Bug in NSImageView / NSPDFImageRep in Tiger?
  • Index(es):
    • Date
    • Thread