Re: Communicating between applications
Re: Communicating between applications
- Subject: Re: Communicating between applications
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 16 Aug 2005 21:36:37 -0600
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