init(identifier:displayName:)
Creates a new file provider domain with the specified identifier and display name.
Declaration
init(identifier: NSFileProviderDomainIdentifier, displayName: String)Parameters
- identifier:
A string that identifies the domain. The file provider extension can select any string to uniquely identify the domain, as long as it doesn’t contain the colon (:) or slash (/) symbols.
- displayName:
The name for the domain that the system shows to the user.