Re: iCloud question: CloudKit vs. NSFileManager


 



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

Join cocoa@apple-dev.groups.io to automatically receive all group messages.