The block to execute with progress information for an individual record.
- 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:
CKRecordobject that is in the process of being saved.
The amount of progress toward saving the record, expressed as a percentage of its total size. This value is a number between
0means none of the record is saved and
1means the entire record has been saved.
The operation object executes this block zero or more times for each record in the
records 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. Use this block to track the ongoing progress of the upload operation and possibly to provide feedback to the user.