Re: Mac OS X - Inter-Application Communications
Re: Mac OS X - Inter-Application Communications
- Subject: Re: Mac OS X - Inter-Application Communications
- From: Kyle Sluder <email@hidden>
- Date: Tue, 03 Mar 2015 10:56:47 -0600
On Tue, Mar 3, 2015, at 05:50 AM, Dave wrote:
> I have the high level flow worked out now, but I’m not sure of what to
> use in order to Send Events between my Applications and whether I need to
> have one App (e.g. the Background App or another dedicated
> “DatabaseManager” Background App) solely responsible for accessing the
> database so as to ensure it’s in sync and that updates are run in the
> correct order.
>
> I was thinking of using IPC/XPC as a means of doing this and I’m reading
> “Daemons and Services Programming Guide”.
>
> Any advice or suggestions as to best way of achieving this would be
> greatly appreciated.
The modern way to do this would be to have an XPC service exclusively
own the database, and have all other applications talk to the XPC
service to request data.
--Kyle Sluder
_______________________________________________
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