---
title: "didFinishEnumeratingContent(upTo:)"
framework: ContactProvider
role: symbol
role_heading: Instance Method
platforms: [iOS 18.0+, iPadOS 18.0+]
path: "contactprovider/contactitemcontentobserver/didfinishenumeratingcontent(upto:)"
---

# didFinishEnumeratingContent(upTo:)

Finishes the content enumeration to the observer.

## Declaration

```swift
func didFinishEnumeratingContent(upTo generationMarker: Data)
```

## Parameters

- `generationMarker`: A value specific to your data source identifying the database generation whose content has been enumerated.

## Discussion

Discussion Call this when there are no more items to enumerate. Any future item enumerations after this are change enumerations. The first change enumeration begins from generationMarker, which syncs changes made after the content enumeration began. Calling this method saves the current page of items to the system Contacts database.

## See Also

### Ending enumeration

- [didFinishEnumeratingPage(upTo:)](contactprovider/contactitemcontentobserver/didfinishenumeratingpage(upto:).md)
- [ContactItemPage](contactprovider/contactitempage.md)
- [didFinishEnumeratingContentWithError(_:)](contactprovider/contactitemcontentobserver/didfinishenumeratingcontentwitherror(_:).md)
