<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderDomain/init(displayName:userInfo:volumeURL:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFileProviderDomain(im)initWithDisplayName:userInfo:volumeURL:"
  },
  "title" : "init(displayName:userInfo:volumeURL:)"
}
-->

# init(displayName:userInfo:volumeURL:)

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

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

---

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)