Platforms to show: All Mac Windows Linux Cross-Platform

CKDatabaseMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
A conduit for accessing and for performing operations on the public and private data of an app container.

An app container has a public database whose data is accessible to all users and a private database whose data is accessible only to the current user. A database object takes requests for data and applies them to the appropriate part of the container.

You do not create database objects yourself, nor should you subclass CKDatabaseMBS. Your app’s CKContainerMBS objects provide the CKDatabaseMBS objects you use to access the associated data. Use database objects as-is to perform operations on data.

The public database is always available, regardless of whether the device has an an active iCloud account. When no iCloud account is available, your app may fetch records and perform queries on the public database, but it may not save changes. (Saving records to the public database requires an active iCloud account to identify the owner of those records.) Access to the private database always requires an active iCloud account on the device.

see
https://developer.apple.com/reference/cloudkit/ckdatabase

Database Scopes

Constant Value Description
ScopePrivate 2 The private database.
ScopePublic 1 The public database.
ScopeShared 3 The shared database.

This class has no sub classes.

Some properties using for this class:

Blog Entries

Release notes

  • Version 21.3
  • Version 21.2
    • Added new constructor for CKDatabaseMBS class to create a copy with your subclass.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


CKContainerMBS   -   CKDatabaseNotificationMBS


The biggest plugin in space...