Re: Communicating between applications
Re: Communicating between applications
- Subject: Re: Communicating between applications
- From: Mark Williams <email@hidden>
- Date: Tue, 16 Aug 2005 20:45:11 -0700
Yes the deamon does use the AppKit so I'll look first at the
NSApplication class.
Thanks for the reply and the information.
Mark.
On Aug 16, 2005, at 8:36 PM, Nick Zitzmann wrote:
On Aug 16, 2005, at 8:50 PM, Mark Williams wrote:
How do I tell the deamon to quit?
You have a few options available:
1. NSDistributedNotificationCenter
2. Distributed objects
3. Apple events (NSAppleEventDescriptor, AESend(),
NSAppleEventManager)
4. Unix sockets
If your background process uses the AppKit framework and uses
NSApplication, then you can probably just send a "quit" Apple event
to it. Otherwise, NSDistributedNotificationCenter is probably your
best bet.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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