The CloudKit framework defines three database types: private database; public database; shared database; Private Database. It is created whenever user authenticate to the container for the first time. When User B interacts with these records, they are modifying or viewing the original records in User A's space. Noticing that many of Apple's own apps store their data in public databases on Apple's data storage framework CloudKit, Rosén was curious to know if any specific apps' data could be modified with access to the public CloudKit containers in which their data was stored. See the WWDC20 video "Sync a Core Data store with the CloudKit public database" for more info. A container contains one shared public database for everyone, and separate private databases for each user. A subscription sends a normal notification. There is one public database in the container, which contains user records, and each user gets their own private database. Select the CloudKit Database option and, on the resulting web page, select the container for your app from the drop-down menu (marked A in Figure 46-8 below). The CloudKit namespace allows application developers to control the flow of data between their applications and iCloud. CloudKit - mackuba.eu GitHub - GitHubCollection/apple-cloudkit-sample-privatedb CloudKit organizes the data using Containers. An iCloud container contains a private database for every user of your application signed in to their iCloud account. Public database comes with . TL;DR. CloudKit, the data storage framework by Apple, has various access controls. CloudKit Web Services Reference: Modifying Records (records/modify) Description: CloudKit is the framework that powers iCloud on iOS and OS X, now available directly in your app. NSPersistentCloudkitContainer, introduced in 2019, is just a subclass of NSPersistentContainer with extra feature: it mirrors Core Data to CloudKit's private database. It may well be that CloudKit is not the datatstore you are looking for - Paulw11 Jan 23, 2019 at 19:15 Add a comment 25 July 2018 on iCloud, CloudKit, Swift We're currently working on integrating iCloud support into Streaks , which means all of your tasks and task data will be in sync across all devices (as well as immediately available when you install Streaks on a new device). Microsoft makes no warranties, express or implied, with respect to the information provided here. icloud provides server-side data storage, both "public" that is shared between all instances of an application or specific applications and "private" that is unique to a single user.