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 (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