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

# ContactItemPage

A fixed offset into enumerating all contact items.

```
struct ContactItemPage
```

## Overview

You can break an enumeration of all contact items into multiple pages to reduce the memory constraints on the system.
During the enumeration, the [`generationMarker`](/documentation/ContactProvider/ContactItemPage/generationMarker) must not change. Update the [`offset`](/documentation/ContactProvider/ContactItemPage/offset) to reflect progress so you can resume the enumeration.

## Topics

### Creating a contact item page

[`init(generationMarker: Data, offset: Int)`](/documentation/ContactProvider/ContactItemPage/init(generationMarker:offset:))

Creates a contact item page with the given generation marker and offset.

### Supporting paging

[`var generationMarker: Data`](/documentation/ContactProvider/ContactItemPage/generationMarker)

A value specific to your data source identifying the database generation when enumeration of content started.

[`var offset: Int`](/documentation/ContactProvider/ContactItemPage/offset)

An offset from the page’s generation marker.

[`static let initialPage: ContactItemPage`](/documentation/ContactProvider/ContactItemPage/initialPage)

A static value the system uses to indicate the start of a new content enumeration.

### Encoding and decoding

### Comparing contact item pages

## Relationships

### Conforms To

[`Encodable`](/documentation/Swift/Encodable)

[`Equatable`](/documentation/Swift/Equatable)

[`Decodable`](/documentation/Swift/Decodable)

---

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)