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

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.

  • Follow-Ups:
    • Re: NSDistributedNotificationCenter
      • From: Scott Anguish <email@hidden>
References: 
 >NSDistributedNotificationCenter (From: April Gendill <email@hidden>)
 >Re: NSDistributedNotificationCenter (From: Nick Zitzmann <email@hidden>)
 >Re: NSDistributedNotificationCenter (From: April Gendill <email@hidden>)
 >Re: NSDistributedNotificationCenter (From: Andreas Mayer <email@hidden>)

  • Prev by Date: CoreFoundation on Win32
  • Next by Date: Re: CoreFoundation on Win32
  • Previous by thread: Re: NSDistributedNotificationCenter
  • Next by thread: Re: NSDistributedNotificationCenter
  • Index(es):
    • Date
    • Thread