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

# NSFileProviderEnumerator

A protocol for enumerating items and changes.

```
protocol NSFileProviderEnumerator : NSObjectProtocol
```

## Topics

### Enumerating Items and Changes

[`enumerateItems(for:startingAt:)`](/documentation/FileProvider/NSFileProviderEnumerator/enumerateItems(for:startingAt:))

Requests the next batch of items, starting at the specified page.

[`enumerateChanges(for:from:)`](/documentation/FileProvider/NSFileProviderEnumerator/enumerateChanges(for:from:))

Requests the next batch of changes after the specified sync anchor.

[`currentSyncAnchor(completionHandler:)`](/documentation/FileProvider/NSFileProviderEnumerator/currentSyncAnchor(completionHandler:))

Returns the current sync anchor.

[`invalidate()`](/documentation/FileProvider/NSFileProviderEnumerator/invalidate())

Stops the enumeration of items and changes.



---

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)