Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKRecordZoneMBS class.

CKRecordZoneMBS.Available as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether this class is available.

Should be true for OS X 10.10 and newer in 64-bit application.

CKRecordZoneMBS.CKRecordZoneDefaultName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The name of the default zone.

Use this constant when you need to refer to the default zone by name, perhaps when creating a zone ID. The default zone has no special capabilities.

CKRecordZoneMBS.defaultRecordZone as CKRecordZoneMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the default zone for records.

The default record zone for a database.

Always use this method to retrieve the default zone for a database. The returned object can be used to specify the default zone for either the public or private database of a container. You do not need to save the returned zone object before using it. The owner of the zone is set to CKOwnerDefaultName, which corresponds to the current user.

The default zone of a database is a convenient place to store and access records. Whenever you do not explicitly assign a zone to a record, CloudKit puts the record in the default zone.

The disadvantage of using the default zone for storing records is that it does not have any special capabilities. You cannot save a group of records to iCloud atomically in the default zone. Similarly, you cannot use a CKFetchRecordChangesOperationMBS object on records in the default zone.

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


The biggest plugin in space...