Sandboxing, AppleEvents (or other IAC method)
Sandboxing, AppleEvents (or other IAC method)
- Subject: Sandboxing, AppleEvents (or other IAC method)
- From: Trygve Inda <email@hidden>
- Date: Sun, 22 Jun 2014 20:45:14 -0700
- Thread-topic: Sandboxing, AppleEvents (or other IAC method)
I have an app that was easy to get into the pre-sandbox App Store and am
trying to find a way to get it back in there.
There are actually two apps.. A GUI and a Renderer.
The GUI controls all the settings, starts and stops the renderer and, while
the renderer is running, sends messages to the renderer to make changes as
the user manipulates the GUI.
The main GUI currently uses Distributed Notifications to talk to the
renderer. These aren't allowed in the sandbox, but could be replaced with
AppleEvents. I am a bit reluctant to do this because the AppleEvent
entitlements are listed as temporary.
I have read about XPC, but the docs say "The life cycle of an XPC service,
and its integration with Grand Central Dispatch (GCD), is managed entirely
by the system."
My renderer process would need to be running even after the user has quit
the GUI, so I am not sure that this sort of system will work in my case.
Additionally I have an NSStatusItem that runs within its own app and needs
to work similarly to the GUI, sending messages to the renderer when the GUI
app is not running.
Should I use AppleEvents, or just forget trying to put such a complex web of
3 apps into a sandbox?
Thanks,
Trygve
_______________________________________________
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