Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKContainerMBS class.

CKContainerMBS.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.

CKContainerMBS.CKAccountChangedNotification 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 account changed notification name.

CKContainerMBS.CKCurrentUserDefaultName 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 default name for the current user.

CKContainerMBS.CKErrorDomain 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 error domain name for CloudKit.

CKContainerMBS.CKErrorRetryAfterKey as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the user dictionary keys for error dictionaries.

On CKErrorServiceUnavailable or CKErrorRequestRateLimited errors the userInfo dictionary may contain a number that specifies the period of time in seconds after which the client may retry the request.

CKContainerMBS.CKOwnerDefaultName 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 user ID representing the current user. Use this value when creating zone IDs.

CKContainerMBS.CKPartialErrorsByItemIDKey as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
When a CKErrorPartialFailure happens this key will be set in the error's userInfo dictionary.

The value of this key will be a dictionary, and the values will be errors for individual items with the keys being the item IDs that failed.

CKContainerMBS.CKRecordChangedErrorAncestorRecordKey as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the error details keys.

If the server rejects a record save because it has been modified since the last time it was read, a CKErrorServerRecordChanged error will be returned and it will contain versions of the record in its userInfo dictionary. Apply your custom conflict resolution logic to the server record (CKServerRecordKey) and attempt a save of that record.

CKContainerMBS.CKRecordChangedErrorClientRecordKey as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the error details keys.

If the server rejects a record save because it has been modified since the last time it was read, a CKErrorServerRecordChanged error will be returned and it will contain versions of the record in its userInfo dictionary. Apply your custom conflict resolution logic to the server record (CKServerRecordKey) and attempt a save of that record.

CKContainerMBS.CKRecordChangedErrorServerRecordKey as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the error details keys.

If the server rejects a record save because it has been modified since the last time it was read, a CKErrorServerRecordChanged error will be returned and it will contain versions of the record in its userInfo dictionary. Apply your custom conflict resolution logic to the server record (CKServerRecordKey) and attempt a save of that record.

CKContainerMBS.containerWithIdentifier(name as string) as CKContainerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the container object associated with the specified identifier.

containerIdentifier: The bundle identifier of the app whose container you want to access. The bundle identifier must be in the app’s com.apple.developer.icloud-container-identifiers entitlement. This parameter must not be nil.

Returns the container object for the designated app’s content, or nil if the container cannot be found.

The specified identifier must correspond to one of the ubiquity containers listed in the iCloud capabilities section of your Xcode project. Including the identifier with your app’s capabilities adds the corresponding entitlements to your app. To access your app’s default container, use the defaultContainer method instead.

CKContainerMBS.defaultContainer as CKContainerMBS

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 container object for managing the current app’s content.

Returns the container object associated with the current app’s content. This method always returns a valid container object.

Use this method to retrieve the container for your app’s native content. This container is the one your app typically uses to store its data. If you want the container for a different app, create and initialize that container using the containerWithIdentifier method.

During development, the returned container object points to a development version of your app’s container. When you ship your app, the returned object points to the live production environment.

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


The biggest plugin in space...