The block to execute when all changes have been reported.
- iOS 8.0–10.0Deprecated
- macOS 10.10–10.12Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–10.0Deprecated
- watchOS 3.0–3.0Deprecated
The block returns no value and takes the following parameters:
The new change token from the server. You can store this token locally and use it during subsequent fetch operations to limit the results to records that changed since this operation executed.
The last client change token received from this device. If this change token is not the last change token you provided, the server may not have received the associated changes.
An error object containing information about a problem, or
nilif the changes are retrieved successfully.
Your implementation of this block should check the
more property of the operation object to ensure that the server was able to deliver all results. If that property is set to
YES, you must create another operation object (using the value in the
server parameter) to fetch any remaining changes.
The operation object executes this block only once, at the conclusion of the operation. It is executed after all individual change blocks but before the operation’s completion block. The block 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.