Instance Method

register(_:forItemWithIdentifier:completionHandler:)

Registers the URL session task responsible for the specified item.

Declaration

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.

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