The block to execute when the results of a single record are available.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The block returns no value and takes the following parameters:
The retrieved record, or
nilif the specified record cannot be retrieved.
The ID of the record. This value corresponds to one of the IDs you specified in the
An error object containing information about a problem, or
nilif the results are retrieved successfully.
The operation object executes this block once for each record ID in the
record property. Each time the block is executed, it is executed serially with respect to the other progress blocks of the operation.
If you intend to use this block to process results, set it before executing the operation or submitting the operation object to a queue.