<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderEnumerationObserver",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:objc(pl)NSFileProviderEnumerationObserver"
  },
  "title" : "NSFileProviderEnumerationObserver"
}
-->

# NSFileProviderEnumerationObserver

An observer that receives batches of items during enumeration.

```
protocol NSFileProviderEnumerationObserver : NSObjectProtocol
```

## Topics

### Observing Item Enumeration

[`didEnumerate(_:)`](/documentation/FileProvider/NSFileProviderEnumerationObserver/didEnumerate(_:))

Provides a batch of enumerated items.

[`finishEnumerating(upTo:)`](/documentation/FileProvider/NSFileProviderEnumerationObserver/finishEnumerating(upTo:))

Tells the observer that all of the items have been enumerated up to the specified page.

[`finishEnumeratingWithError(_:)`](/documentation/FileProvider/NSFileProviderEnumerationObserver/finishEnumeratingWithError(_:))

Tells the observer that an error occurred during item enumeration.

[`suggestedPageSize`](/documentation/FileProvider/NSFileProviderEnumerationObserver/suggestedPageSize)

The page size that the system recommends.



---

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)