• 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: Milton Sagen <email@hidden>
  • Date: Wed, 17 Aug 2005 08:40:53 -0700

You seem to be happy with this solution, but I thought I'd ask, nonetheless, have you looked at NSTask?

Milt

On Aug 17, 2005, at 08:00, Mark Williams wrote:

Yeah the distributed notification center was exactly the thing I needed. Now my application can cause it's deamon to quit, Thanks all
Mark.


On Aug 17, 2005, at 6:47 AM, Sean McBride wrote:


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


_______________________________________________ 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
References: 
 >Communicating between applications (From: Mark Williams <email@hidden>)
 >Re: Communicating between applications (From: "Sean McBride" <email@hidden>)
 >Re: Communicating between applications (From: Mark Williams <email@hidden>)

  • Prev by Date: Re: [NSColor clearColor] and NSBezierPath: not compatible?
  • Next by Date: Re: NSTableView blurry contents
  • Previous by thread: Re: Communicating between applications
  • Next by thread: Model Tool
  • Index(es):
    • Date
    • Thread