Date
1 - 3 of 3
iCloud question: CloudKit vs. NSFileManager
Leo
A question for those experienced in iCloud:
I want to implement some very basic iCloud tasks in my apps. Just to sync a few XML files that contain settings presets. So that the users can access their presets from anywhere.
The presets don't have to be kept in sync at any given moment - just updated when the user loads a specific preset.
As far as I understand, there are two ways to implement iCloud: CloudKit and NSFileManager iCloud methods.
It looks to me that NSFileManager is sufficient for what I need.
Is that correct - or should I use CloudKit?
It looks to me that NSFileManager is sufficient for what I need.
Is that correct - or should I use CloudKit?
Thanks for any info!
Leo
Leo
On Oct 12, 2020, at 10:19 PM, Leo <leo.r@...> wrote:As far as I understand, there are two ways to implement iCloud: CloudKit and NSFileManager iCloud methods.
I would use NSFileManager. CloudKit is for storing a server-side database that supports queries, indexes and sharing … that's overkill for a simple settings file.
Also, I believe if you use the NSFileManager API the user will be able to see the settings file in the Files app (or the Finder), which could be convenient.
—Jens