<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderNamespacePolicy",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:@E@NSFileProviderNamespacePolicy"
  },
  "title" : "NSFileProviderNamespacePolicy"
}
-->

# NSFileProviderNamespacePolicy

```
enum NSFileProviderNamespacePolicy
```

## Topics

### Enumeration Cases

[`case inherited`](/documentation/FileProvider/NSFileProviderNamespacePolicy/inherited)

Inherit the namespace policy of the parent folder.

[`case materializeEagerly`](/documentation/FileProvider/NSFileProviderNamespacePolicy/materializeEagerly)

Download this folder eagerly, make sure it’s always fully enumerated
Keep downloading remote updates eagerly.
Prevent eviction on low disk pressure and other triggers.

[`case materializeLazily`](/documentation/FileProvider/NSFileProviderNamespacePolicy/materializeLazily)

Enumerate this folder lazily (i.e upon access) if it is dataless.
Keep populate new items below this folder eagerly if it’s already on disk.

### Initializers

[`init?(rawValue: Int)`](/documentation/FileProvider/NSFileProviderNamespacePolicy/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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