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