---
title: NSFileProviderFetchContentsOptions
framework: fileprovider
role: symbol
role_heading: Structure
path: fileprovider/nsfileproviderfetchcontentsoptions
---

# NSFileProviderFetchContentsOptions

Options for fetching a range of data from a file.

## Declaration

```swift
struct NSFileProviderFetchContentsOptions
```

## Topics

### Accessing Options

- [strictVersioning](fileprovider/nsfileproviderfetchcontentsoptions/strictversioning.md)

### Creating Options

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

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Fetching Ranges from a File

- [fetchPartialContents(for:version:request:minimalRange:aligningTo:options:completionHandler:)](fileprovider/nsfileproviderpartialcontentfetching/fetchpartialcontents(for:version:request:minimalrange:aligningto:options:completionhandler:).md)
- [NSFileProviderMaterializationFlags](fileprovider/nsfileprovidermaterializationflags.md)
