On 6 Aug 2014, at 22:05, Alex Zavatone <z...@mac.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to