Instance Property

documentStorageURL

The root URL for all shared documents.

Declaration

var documentStorageURL: URL { get }

Discussion

This property contains the URL <container URL>/File Provider Storage, where container URL is the value returned by the containerURL(forSecurityApplicationGroupIdentifier:) method.

The container URL refers to an app group container directory used by the NSFileProviderExtension extension. You can specify this shared container using the NSExtensionFileProviderDocumentGroup key in the File Provider extension’s info.plist file.

See Also

Accessing File Provider Data

class var `default`: NSFileProviderManager

Returns the shared file provider manager object; you can access this object in both the containing app and the File Provider extension.

var providerIdentifier: String

A purpose identifier for coordinated reads and writes.