Communicating between applications
Communicating between applications
- Subject: Communicating between applications
- From: Mark Williams <email@hidden>
- Date: Tue, 16 Aug 2005 19:50:00 -0700
Hey,
I have an app the runs a little deamon (at user request only). If I
were to update that deamon I'd need the app to be able to tell it to
quit so that it could be deleted and the newer one installed and
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?
Mark
_______________________________________________
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