A set of methods that provides the name of the promised file and writes the file to the destination directory when the file promise is fulfilled.


protocol NSFilePromiseProviderDelegate


Handling File Promises

func operationQueue(for: NSFilePromiseProvider) -> OperationQueue

Returns the operation queue from which to issue the write request.


Inherits From

See Also

File Promises

Supporting Drag and Drop Through File Promises

Receive file promises to support dragged files from other apps and provide file promises to support pasteboard operations of your app’s custom file types.

class NSFilePromiseProvider

An object that provides a promise for the pasteboard.

class NSFilePromiseReceiver

An object that receives a file promise from the pasteboard.