• 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: 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


  • Follow-Ups:
    • Re: Communicating between applications
      • From: Stephane Sudre <email@hidden>
    • Re: Communicating between applications
      • From: Mark Williams <email@hidden>
References: 
 >Communicating between applications (From: Mark Williams <email@hidden>)

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