• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Communicating between applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Communicating between applications (From: Mark Williams <email@hidden>)
 >Re: Communicating between applications (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Communicating between applications
  • Next by Date: Re: Core Data: slow saves to persistent store
  • Previous by thread: Re: Communicating between applications
  • Next by thread: Re: Communicating between applications
  • Index(es):
    • Date
    • Thread