Re: Looking for a good starting point to create a shared data resource between iOS apps
Re: Looking for a good starting point to create a shared data resource between iOS apps
- Subject: Re: Looking for a good starting point to create a shared data resource between iOS apps
- From: Ben Kennedy <email@hidden>
- Date: Thu, 20 Jun 2013 10:48:19 -0700
On 2013-06-20, at 10:37 am, Alex Zavatone <email@hidden> wrote:
> I've reviewed the AppPrefs source on developer.apple.com and am interested in creating a small set of shared data accessible for all apps on our iOS devices.
I have resorted to Keychain Services for achieving this kind of thing on a micro scale. So long as your apps share a common ancestor identifier (e.g. BUNDLESEEDID.com.example.*) then they can all have access to the same keychain items.
This is a rather greasy approach, but NSUserDefaults is wholly sandboxed between apps on iOS.
> Is a proper approach to use NSUserDefaults and then populate an app's bundle that contains the root.pList when the preference pane is displayed, or is this not possible based on how preferences work?
The Settings.bundle in an iOS app is built into the app bundle and cannot be modified.
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
_______________________________________________
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