Contents

previousServerChangeToken

The token that identifies the starting point for retrieving changes.

Declaration

@NSCopying var previousServerChangeToken: CKServerChangeToken? { get set }

Discussion

Each fetch request returns a unique token in addition to any changes. CloudKit passes the token to your recordZoneFetchCompletionBlock handler. During a subsequent fetch request, providing the previous token causes the server to return only the changes since the previous fetch request. Tokens are opaque values that you can write to disk safely and reuse later.

See Also

Zone Change Options