NSPersistentCloudKitContainer support for CloudKit Record Zone Sharing

This thread has been locked by a moderator.

NSPersistentCloudKitContainer now supports sharing via CloudKit Record Zone Sharing. This new capability allows applications to easily build features that enable sharing of Core Data managed objects with multiple iCloud users.

We've updated our sample application and documentation to demonstrate how these new capabilities work.

At a high level NSPersistentCloudKitContainer now supports:

  • New API for binding directly to call sites commonly used for sharing in your AppDelegate, UICloudSharingController, or your user interface code.
  • Assigning the .shared database scope to instances of NSPersistentCloudKitContainerOptions
  • Sharing of managed objects to single CKRecordZone
  • Direct access to read or write the CKShare for a managed object via new API on NSPersistentCloudKitContainer.

For more information be sure to watch our session Build apps that share data through CloudKit and Core Data on Friday.

Up vote post of Frameworks Engineer
673 views
  • Can’t wait to try this out. Hopefully I can remove all my custom CloudKit code.

Add a Comment