Type Method


Returns all of the File Provider extension's domains.


class func getDomainsWithCompletionHandler(_ completionHandler: @escaping ([NSFileProviderDomain], Error?) -> Void)

See Also

Working with Domains

init?(for: NSFileProviderDomain)

Returns a newly created file provider manager for the specified domain.

class func remove(NSFileProviderDomain, completionHandler: (Error?) -> Void)

Removes a domain from the File Provider extension.

class func removeAllDomains(completionHandler: (Error?) -> Void)

Removes all domains from the File Provider extension.

class NSFileProviderDomain

A File Provider extension's domain.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software