Instance Property

providerIdentifier

A purpose identifier for coordinated reads and writes.

Declaration

var providerIdentifier: String { get }

Discussion

This property contains a unique string that can be used as a purpose identifier for file coordination. The File Provider extension should use this identifier when performing coordinated reads and writes, to help prevent deadlocks.

Pass this identifier to the file coordinator’s setPurposeIdentifier: method before performing a coordinated read or write.

This method returns the containing app’s bundle identifier.

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 documentStorageURL: URL

The root URL for all shared documents.