Returns the names of the promised files that you created for a drag operation.
- macOS 10.11–10.13Deprecated
The collection view asking you to provide the list of filenames.
The URL at which to create the promised files.
The index paths of the dragged items.
An array of strings containing the filenames you created, or intend to create, at the specified URL.
At the start of a drag operation, your app must provide the data that constitutes the items being dragged. If you specify a file promise, instead of the data itself, use this method to specify the names of the files you promised. If the files already exist, move them to the directory specified by the
drop parameter. If you must create the files first, use this method to specify the names of the files you intend to provide and begin creating those files asynchronously on a background thread.
For more information about how to use file promises when dragging content, see Drag and Drop Programming Topics.