Instance Method


Registers the URL session task responsible for the specified item.


func register(_ task: URLSessionTask, forItemWithIdentifier identifier: NSFileProviderItemIdentifier, completionHandler completion: @escaping (Error?) -> Void)

See Also

Performing Actions

class func placeholderURL(for: URL) -> URL

Returns a placeholder URL for a given document URL.

class func writePlaceholder(at: URL, withMetadata: NSFileProviderItem)

Writes a document placeholder with the provided metadata.

func signalEnumerator(for: NSFileProviderItemIdentifier, completionHandler: (Error?) -> Void)

Alerts the system to changes in the specified folder's content.