Contents

namesOfPromisedFilesDropped(atDestination:)

Sets the drop location for promised files and returns the names of the files that the receiver promises to create there.

Declaration

func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]?

Parameters

  • dropDestination:

    A URL object specifying the drop location for promised files.

Return Value

An array of file names, which are not full paths.

Discussion

Drag destinations should invoke this method within their performDragOperation: method. The source may or may not have created the files by the time this method returns.

See Also

Obtaining information about the dragging session