• 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: Communicating between applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Communicating between applications


  • Subject: Re: Communicating between applications
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 17 Aug 2005 09:47:28 -0400
  • Organization: Rogue Research

On 2005-08-16 19:50, Mark Williams said:

>started. I tried using [[NSWorkspace sharedWorkspace]
>notificationCenter] to post a notification. I added the observer in
>the deamon but it never gets posted as far as I can tell. I have an
>app I wrote a while back that lists every notification posted to the
>shared workspace and when I launch my program and have it post the
>notification in the awakeFromNib method, the notification never shows
>up in the observer application.
>How do I tell the deamon to quit? Or what am I doing wrong in the
>posting of the notification?

The docs say: "An NSNotificationCenter object can only deliver
notifications within a single task. If you want to post a notification
to other tasks or receive notifications from other tasks, use
NSDistributedNotificationCenter"

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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

  • Follow-Ups:
    • Re: Communicating between applications
      • From: Mark Williams <email@hidden>
References: 
 >Communicating between applications (From: Mark Williams <email@hidden>)

  • Prev by Date: Re: Unicode in AppleScript
  • Next by Date: Re: Translation issue
  • Previous by thread: Re: Communicating between applications
  • Next by thread: Re: Communicating between applications
  • Index(es):
    • Date
    • Thread