---
title: "init(displayName:userInfo:volumeURL:)"
framework: fileprovider
role: symbol
role_heading: Initializer
path: "fileprovider/nsfileproviderdomain/init(displayname:userinfo:volumeurl:)"
---

# init(displayName:userInfo:volumeURL:)

Creates a new file provider domain with the specified URL and display name.

## Declaration

```swift
init(displayName: String, userInfo: [AnyHashable : Any] = [:], volumeURL: URL?)
```

## See Also

### Creating domains

- [init(identifier:displayName:pathRelativeToDocumentStorage:)](fileprovider/nsfileproviderdomain/init(identifier:displayname:pathrelativetodocumentstorage:).md)
- [init(identifier:displayName:)](fileprovider/nsfileproviderdomain/init(identifier:displayname:).md)
- [NSFileProviderDomainIdentifier](fileprovider/nsfileproviderdomainidentifier.md)
