iOS Swift: Local persistence with CloudKit
There is no mechanism for cashing data locally in CloudKit, you have to do that yourself. I can suggest you to take a look at EVCloudKitDao which is a convenience library for CloudKit that has support for local cashing to a file.
No caching built in CloudKit, anyway when you implement one Keep in mind to cache only the system fields to restore and synch with CloudKit againcheck this https://stackoverflow.com/a/35355916/1787109