The block to execute for each record returned by the query.
- 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 parameter:
CKRecordobject matching the search criteria.
After identifying and sorting the records, the operation object executes this block once for each record in the sorted results. The block is executed serially with respect to all progress blocks of the operation object, so you can expect only one block at a time to be executing for this operation object.
If you intend to use this block to process results, set it before executing the operation or submitting the operation object to a queue.