• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mac OS X - Inter-Application Communications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Mac OS X - Inter-Application Communications
      • From: Kevin Meaney <email@hidden>
References: 
 >Mac OS X - Inter-Application Communications (From: Dave <email@hidden>)

  • Prev by Date: Mac OS X - AppDelegate applicationDidFinishLaunching
  • Next by Date: Re: Mac OS X - AppDelegate applicationDidFinishLaunching
  • Previous by thread: Mac OS X - Inter-Application Communications
  • Next by thread: Re: Mac OS X - Inter-Application Communications
  • Index(es):
    • Date
    • Thread