<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ContactProvider",
  "identifier" : "/documentation/ContactProvider/ContactItemSyncAnchor",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ContactProvider"
    ],
    "preciseIdentifier" : "s:15ContactProvider0A14ItemSyncAnchorV"
  },
  "title" : "ContactItemSyncAnchor"
}
-->

# ContactItemSyncAnchor

A snapshot point into enumerating changed contact items.

```
struct ContactItemSyncAnchor
```

## Overview

You can break an enumeration of changes into batches with multiple anchors to reduce the memory constraints on the system.
During enumeration, you may update the `generationMarker` and `offset` to reflect progress enumerating the changes as they occurred, possibly across mutiple database generations and how many changes occurred within each database generation.

## Topics

### Creating a sync anchor

[`init(generationMarker:offset:)`](/documentation/ContactProvider/ContactItemSyncAnchor/init(generationMarker:offset:))

Creates a sync anchor with the given generation marker and offset.

### Inspecting sync anchor properties

[`generationMarker`](/documentation/ContactProvider/ContactItemSyncAnchor/generationMarker)

A value specific to your data source identifying the database generation you’re enumerating for changes.

[`offset`](/documentation/ContactProvider/ContactItemSyncAnchor/offset)

An offset from the anchor’s generation marker.

### Encoding and decoding



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)