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

# ContactItemContentObserver

A protocol that defines a system observer that receives a resumable enumeration of all items.

```
protocol ContactItemContentObserver
```

## Overview

Your implementation of [`enumerateContent(in:for:)`](/documentation/ContactProvider/ContactItemEnumerator/enumerateContent(in:for:)) receives an observer that conforms to this type.
As you enumerate over your contact items, you provide them to the observer with the [`didEnumerate(_:)`](/documentation/ContactProvider/ContactItemContentObserver/didEnumerate(_:)) method.

## Topics

### Providing contact items

[`didEnumerate(_:)`](/documentation/ContactProvider/ContactItemContentObserver/didEnumerate(_:))

Provides an array of contact items to the observer.

[`ContactItem`](/documentation/ContactProvider/ContactItem)

An item in the contact database.

### Ending enumeration

[`didFinishEnumeratingContent(upTo:)`](/documentation/ContactProvider/ContactItemContentObserver/didFinishEnumeratingContent(upTo:))

Finishes the content enumeration to the observer.

[`didFinishEnumeratingPage(upTo:)`](/documentation/ContactProvider/ContactItemContentObserver/didFinishEnumeratingPage(upTo:))

Marks a page of items as completed.

[`ContactItemPage`](/documentation/ContactProvider/ContactItemPage)

A fixed offset into enumerating all contact items.

[`didFinishEnumeratingContentWithError(_:)`](/documentation/ContactProvider/ContactItemContentObserver/didFinishEnumeratingContentWithError(_:))

Finishes the content enumeration with an error, indicating failure, to the observer.

### Optimizing enumeration

[`suggestedPageSize`](/documentation/ContactProvider/ContactItemContentObserver/suggestedPageSize)

Retrieves the suggested number of items to include in a page.



---

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)