addObserver and multiple registrations
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