• 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: Talking to other apps - again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Talking to other apps - again


  • Subject: Re: Talking to other apps - again
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Wed, 06 Aug 2014 22:43:11 +0700

On 6 Aug 2014, at 22:05, Alex Zavatone <email@hidden> wrote:

> By the way, if you do want to check out XPC, there is a good tutorial on objc.io here:
>
> http://www.objc.io/issue-14/xpc.html

Very interesting. Thanks for the link!

A quote:
"Let’s say we have two apps, and we would like them to be able to communicate with each other over XPC. Each app doesn’t know what the other app is. But they both know about a (shared) launch agent.

Both apps can connect to the launch agent. App A creates a so-called anonymous listener that it listens on, and sends a so-called endpoint to that anonymous listener over XPC to the launch agent. App B then retrieves that endpoint over XPC from the launch agent. At this point, App B can connect directly to the anonymous listener, i.e. App A."

So XPC can be used for two apps to talk after all. It only is rather more complicated than I thought.

Kind regards,

Gerriet.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Talking to other apps - again
      • From: Roland King <email@hidden>
References: 
 >Talking to other apps - again (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Talking to other apps - again (From: Jens Alfke <email@hidden>)
 >Re: Talking to other apps - again (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Talking to other apps - again (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Talking to other apps - again
  • Next by Date: Re: Talking to other apps - again
  • Previous by thread: Re: Talking to other apps - again
  • Next by thread: Re: Talking to other apps - again
  • Index(es):
    • Date
    • Thread