Mac OS X - Inter-Application Communications
Mac OS X - Inter-Application Communications
- Subject: Mac OS X - Inter-Application Communications
- From: Dave <email@hidden>
- Date: Tue, 03 Mar 2015 11:50:58 +0000
Target: Mac OS X - 10.9, 10.10
Hi All,
I working on a Mac project that has a number of apps associated with the product I am developing. There is a background faceless app that monitors events and send messages to other Apps in the suite. The product needs a fairly large database of settings that need to be accessed by all the Apps in the suite.
I’m not sure if I can use Core Data or not, but for the moment I’d say I probably can’t, as the customer wants to be able to download ready made databases from their servers, which use SQLIte, so the obvious thing to do is to use SQLite for the Mac Product.
I don’t think it matters if I use Core Data or not as far as my questions are concerned, which relate to inter-app communication and ensuring the database is updated correctly.
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.
Thanks a lot
Dave
_______________________________________________
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