Re: Talking to other apps - again
Re: Talking to other apps - again
- Subject: Re: Talking to other apps - again
- From: Roland King <email@hidden>
- Date: Wed, 06 Aug 2014 23:45:26 +0800
Which is what I outlined some hours ago in a post on this thread.
> On 6 Aug 2014, at 11:43 pm, Gerriet M. Denkmann <email@hidden> wrote:
>
>
> 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