Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKFetchRecordsOperationMBS class.

CKFetchRecordsOperationMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The constructor.

See also:

CKFetchRecordsOperationMBS.Constructor(recordIDs() as CKRecordIDMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes and returns an operation object configured to fetch the records with the specified IDs.

recordIDs: An array of CKRecordIDMBS objects representing the records you want to retrieve. This parameter is used to initialize the value in the recordIDs property. If specify nil, you must assign an appropriate value to the recordIDs property before executing the operation.

If any of the objects in the array are not CKRecordIDMBS objects, this method raises an exception.

Returns an initialized operation object.

The returned operation object is configured to retrieve all fields of the record, including any assets stored in those fields. If you want to minimize the amount of data returned initially, configure the desiredKeys property with the subset of keys whose values you want to retrieve.

See also:

CKFetchRecordsOperationMBS.desiredKeys as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The fields to fetch for the requested records.

Use this property to limit the amount of data retrieved for each record during the fetch operation. This property contains an array of strings, each of which contains the name of a field from the target records. When you retrieve a given record, only fields whose names match one of the keys in this property are included in the returned record. The default value of this property is nil, which causes all keys of the record to be fetched.

Because the records you fetch can be of different types, the array should contain the merged set of all field names for the requested records and should include at least one field name from each record type.

If you intend to specify a value other than nil, do so before executing the operation or submitting the operation object to a queue.

CKFetchRecordsOperationMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Destructor

CKFetchRecordsOperationMBS.recordIDs as CKRecordIDMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The array of IDs corresponding to the records to fetch.

Use this property to view or change the IDs of the records you want to retrieve. Each item in the array must be a CKRecordIDMBS object. If you used the fetchCurrentUserRecordOperation method to create the operation object, the contents of this property are ignored and the value is set to nil.

If you intend to specify a value other than nil, do so before executing the operation or submitting the operation object to a queue. The records you fetch do not need to be in the same record zone. The record ID for each record provides the zone information needed by the server to fetch the corresponding record.

CKFetchRecordsOperationMBS.setDesiredKeys(desiredKeys() as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Set the fields to fetch for the requested records.

Use this property to limit the amount of data retrieved for each record during the fetch operation. This property contains an array of strings, each of which contains the name of a field from the target records. When you retrieve a given record, only fields whose names match one of the keys in this property are included in the returned record. The default value of this property is nil, which causes all keys of the record to be fetched.

Because the records you fetch can be of different types, the array should contain the merged set of all field names for the requested records and should include at least one field name from each record type.

If you intend to specify a value other than nil, do so before executing the operation or submitting the operation object to a queue.

CKFetchRecordsOperationMBS.setRecordIDs(IDs() as CKRecordIDMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets the array of IDs corresponding to the records to fetch.

Use this property to view or change the IDs of the records you want to retrieve. Each item in the array must be a CKRecordIDMBS object. If you used the fetchCurrentUserRecordOperation method to create the operation object, the contents of this property are ignored and the value is set to nil.

If you intend to specify a value other than nil, do so before executing the operation or submitting the operation object to a queue. The records you fetch do not need to be in the same record zone. The record ID for each record provides the zone information needed by the server to fetch the corresponding record.

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


The biggest plugin in space...