Initializes and returns an operation object configured to fetch changes in the specified record zone.
- 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 zone containing the records you want to fetch. The zone can be a custom zone. Syncing the default zone is not supported.
The change token from a previous fetch operation. This is the token passed to your
fetchhandler during a previous fetch operation. Use this token to limit the returned data to only those changes that have occurred since you last made the same fetch request. If you specify
Record Changes Completion Block
nilfor this parameter, the operation object fetches all records and their contents.
An initialized operation object.
When initializing the operation object, use the token from a previous fetch request if you have one. You can archive tokens and write them to disk for later use if needed.
The returned operation object is configured to retrieve all changed fields of the record, including any assets stored in those fields. If you want to minimize the amount of data returned even further, configure the
desired property with the subset of keys whose values you want to fetch.
After initializing the operation, associate at least one progress block with the operation object (excluding the completion block) to process the results.