<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderPage",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:@T@NSFileProviderPage"
  },
  "title" : "NSFileProviderPage"
}
-->

# NSFileProviderPage

A synchronization point that represents the next batch of items to be returned by an enumerator.

```
struct NSFileProviderPage
```

## Discussion

Your file provider should populate the page with the information it needs to partition items into batches and to systematically return a batch of data at a time. For example, a simple page could contain the index of the next item to return. A request to enumerate items from that page would then return a batch of items starting at the specified index.

## Topics

### Page Constants

[`NSFileProviderInitialPageSortedByName`](/documentation/FileProvider/NSFileProviderPage/initialPageSortedByName)

The initial batch of items when sorted by name.

[`NSFileProviderInitialPageSortedByDate`](/documentation/FileProvider/NSFileProviderPage/initialPageSortedByDate)

The initial batch of items when sorted by date.

### Initializers

[`init(_:)`](/documentation/FileProvider/NSFileProviderPage/init(_:))

Creates a new page structure from the given raw value.

[`init(rawValue:)`](/documentation/FileProvider/NSFileProviderPage/init(rawValue:))

Creates a new page structure from the given raw value.

## Relationships

### Conforms To

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

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

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

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

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

---

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)