Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSUbiquitousKeyValueStoreMBS class.

NSUbiquitousKeyValueStoreMBS.available as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method iCloud MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether this class is available.
Example
msgbox "iCloud Key Value Store available: "+str(NSUbiquitousKeyValueStoreMBS.available)

This does not tell you whether Apple switched on their servers.

NSUbiquitousKeyValueStoreMBS.defaultStore as NSUbiquitousKeyValueStoreMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method iCloud MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a reference to the default key store.

Some examples using this method:

NSUbiquitousKeyValueStoreMBS.NSUbiquitousKeyValueStoreChangedKeysKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method iCloud MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A key name for the userinfo dictionary when you receive the NSUbiquitousKeyValueStoreDidChangeExternallyNotification notification.

Value for this key in the dictionary in an array of strings.

NSUbiquitousKeyValueStoreMBS.NSUbiquitousKeyValueStoreChangeReasonKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method iCloud MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A key name for the userinfo dictionary when you receive the NSUbiquitousKeyValueStoreDidChangeExternallyNotification notification.

Value for this key in the dictionary in an integer.

NSUbiquitousKeyValueStoreMBS.NSUbiquitousKeyValueStoreDidChangeExternallyNotification as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method iCloud MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The notification name for the notification sent when the .

You can observe this notification with the NSNotificationObserverMBS class or simply subclass NSUbiquitousKeyValueStoreMBS and use the DidChangeExternally event.

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


The biggest plugin in space...