CKDatabaseMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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


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


CKContainerMBS   -   CKDatabaseNotificationMBS


💬 Ask a question or report a problem