Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

NSUbiquitousKeyValueStoreMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class iCloud MBS MacCloud Plugin 11.2 Yes No No Yes, macOS only No
Function: The iCloud class to store key value data.
Size of data is limited to 64 KB per application and 4 KB per value.
Do not store data here. Better store some configuration data, bookmarks or highscores.

Please also check the documentation from Apple for the NSUbiquitousKeyValueStore class. Seems like you need your app to be signed with iCloud Storage Entitlements.

Feedback, Comments & Corrections

Change Reason Constants

Constant Value Description
NSUbiquitousKeyValueStoreInitialSyncChange 1
NSUbiquitousKeyValueStoreQuotaViolationChange 2
NSUbiquitousKeyValueStoreServerChange 0

This class has no sub classes.

Some examples which use this class:

Blog Entries

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

NSTouchBarMBS   -   NSUndoManagerMBS

MBS Xojo blog