SyncStack

View as Markdown

SyncStack

SyncStack holds one page of the result of a sync. The completion block of every sync method of Stack receives one. Use this class to

  • read the published, unpublished, and deleted items of a sync page
  • tell whether more pages follow
  • read the sync token to store for the next sync

init is unavailable, so you never create a SyncStack yourself.

NameTypeDescription
items NSArray<NSDictionary<NSString *, id> *> *

Read-only. Items of the current page, one dictionary each.

paginationToken NSString *

Read-only. Token of the next page. Present on every page except the last.

syncToken NSString *

Read-only. Token for the next sync. Present on the last page.

skip unsigned int

Read-only. The skip value of the response.

limit unsigned int

Read-only. The limit value of the response.

totalCount unsigned int

Read-only. The total_count value of the response.