---
title: alwaysEnabled
framework: fileprovider
role: symbol
role_heading: Type Property
path: fileprovider/nsfileproviderdomain/testingmodes-swift.struct/alwaysenabled
---

# alwaysEnabled

A testing mode that automatically enables the domain.

## Declaration

```swift
static var alwaysEnabled: NSFileProviderDomain.TestingModes { get }
```

## Discussion

Discussion By default, the user must manually enable a domain in System Preferences > Extensions before the File Provider extension can access it. This testing mode bypasses that workflow and automatically enables the domain.

## See Also

### Accessing Modes

- [interactive](fileprovider/nsfileproviderdomain/testingmodes-swift.struct/interactive.md)
