---
title: NSFileProviderPage
framework: fileprovider
role: symbol
role_heading: Structure
path: fileprovider/nsfileproviderpage
---

# NSFileProviderPage

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

## Declaration

```swift
struct NSFileProviderPage
```

## Discussion

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

- [initialPageSortedByName](fileprovider/nsfileproviderpage/initialpagesortedbyname.md)
- [initialPageSortedByDate](fileprovider/nsfileproviderpage/initialpagesortedbydate.md)

### Initializers

- [init(_:)](fileprovider/nsfileproviderpage/init(_:).md)
- [init(rawValue:)](fileprovider/nsfileproviderpage/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Providing search results

- [enumerateSearchResults(for:startingAt:)](fileprovider/nsfileprovidersearchenumerator/enumeratesearchresults(for:startingat:).md)
- [NSFileProviderSearchEnumerationObserver](fileprovider/nsfileprovidersearchenumerationobserver.md)
