Protocol

NSFilePromiseProviderDelegate

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.

Declaration

@protocol NSFilePromiseProviderDelegate

Topics

Handling File Promises

- filePromiseProvider:fileNameForType:

Provides the drag destination file's name.

Required.

- filePromiseProvider:writePromiseToURL:completionHandler:

Writes the contents of a promise to the specified URL.

Required.

- operationQueueForFilePromiseProvider:

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

Relationships

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.

NSFilePromiseProvider

An object that provides a promise for the pasteboard.

NSFilePromiseReceiver

An object that receives a file promise from the pasteboard.