Contents

outlineView(_:namesOfPromisedFilesDroppedAtDestination:forDraggedItems:)

Returns an array of filenames for the created files that the receiver promises to create.

Declaration

optional func outlineView(_ outlineView: NSOutlineView, namesOfPromisedFilesDroppedAtDestination dropDestination: URL, forDraggedItems items: [Any]) -> [String]

Parameters

  • outlineView:

    The outline view that sent the message.

  • dropDestination:

    The drop location where the files are created.

  • items:

    The items being dragged.

Return Value

An array of filenames (not full paths) for the created files that the receiver promises to create.

Discussion

For more information on file promise dragging, see documentation on the NSDraggingSource protocol and namesOfPromisedFilesDropped(atDestination:).

See Also

Instance Methods