Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKRecordMBS class.

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

CKRecordMBS.CKRecordTypeUserRecord 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 record type for an user record.

CKRecordMBS.Unarchive(Data as MemoryBlock, byref error as NSErrorMBS) as CKRecordMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CloudKit MBS Mac64bit Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Archives the data of to a new CKRecord via NSKeyedUnarchiver.
Example
Dim ckRecord As New CKRecordMBS("MyType")

// archive
Dim e1 As NSErrorMBS
Dim encodedRecordValue As String = ckRecord.archive(e1)

// unarchive
Dim e2 As NSErrorMBS
Dim decodedRecord As CKRecordMBS = CKRecordMBS.Unarchive(encodedRecordValue, e2)

MsgBox "OK "+decodedRecord.recordType

In case of error returns nil and sets error.

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


The biggest plugin in space...