Re: NSDistributedNotificationCenter
Re: NSDistributedNotificationCenter
- Subject: Re: NSDistributedNotificationCenter
- From: April Gendill <email@hidden>
- Date: Wed, 17 Dec 2003 08:31:10 -0700
On Dec 17, 2003, at 12:16 AM, Andreas Mayer wrote:
Am 17.12.2003 um 05:39 schrieb April Gendill:
All this does is set the observer to watch the application running,
Um. No. The _Distributed_ Notification Center is the same for _all_
applications. So every notification sent to it may be received by any
other application.
how if the observer is NOT the in the class running, do I call a
method in the running class?
The observer is the object that the notification is _sent to_. The
selector denotes the message used to deliver the notification. There's
no point in registering an object as observer, which you have no
control over.
No. I suppose it doesn't matter though. Clearly, there is some magic
here that I am unaware of. I know programs do this. Xounds does it.
Every time a menu is clicked, or an Icon, or whatever it plays sounds,
so I know there is a way to observe events system wide, but clearly I'm
looking in the wrong place.
Is there any specific notification you are looking for?
bye. Andreas.
_______________________________________________
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.
_______________________________________________
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.