Instance Method

operationQueueForFilePromiseProvider:

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

Declaration

- (NSOperationQueue *)operationQueueForFilePromiseProvider:(NSFilePromiseProvider *)filePromiseProvider;

Parameters

filePromiseProvider

The file promise provider for the operation queue.

Discussion

If this method isn't implemented, the main operation queue is used. Although this method is optional, to avoid blocking your main thread, provide an operation queue other than the main operation queue.

See Also

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.