Re: Communicating between applications
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