Skip to content

Using NSPersistentCloudKitContainer to sync data from Core Data to CloudKit

Notifications You must be signed in to change notification settings

swift-miami/NSPersistentCloudKitContainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Imporant tips when using NSPersistentCloudKitContainer:

  1. When initializing your NSPersistentCloudKitContainer (NSPersistentCloudKitContainer(name:)). The 'name' property MUST match the title of your Core Data model (.xcdatamodeld file).

  2. You will need to add 'CloudKit & Background Modes' to your project in Targets/Signing & Capabilities to enable CK otherwise the fetching will not work.

About

Using NSPersistentCloudKitContainer to sync data from Core Data to CloudKit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages