<!--
{
  "availability" : [
    "macOS: 12.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderFetchContentsOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:@E@NSFileProviderFetchContentsOptions"
  },
  "title" : "NSFileProviderFetchContentsOptions"
}
-->

# NSFileProviderFetchContentsOptions

Options for fetching a range of data from a file.

```
struct NSFileProviderFetchContentsOptions
```

## Topics

### Accessing Options

[`NSFileProviderFetchContentsOptionsStrictVersioning`](/documentation/FileProvider/NSFileProviderFetchContentsOptions/strictVersioning)

An option that indicates the system requires an exact match of the requested item’s version.

### Creating Options

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

Creates an option instance from the raw value.

## Relationships

### Conforms To

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

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

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

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

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

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

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

[`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)