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
outlineView(_:acceptDrop:item:childIndex:)outlineView(_:child:ofItem:)outlineView(_:draggingSession:endedAt:operation:)outlineView(_:draggingSession:willBeginAt:forItems:)outlineView(_:isItemExpandable:)outlineView(_:itemForPersistentObject:)outlineView(_:numberOfChildrenOfItem:)outlineView(_:objectValueFor:byItem:)outlineView(_:pasteboardWriterForItem:)outlineView(_:persistentObjectForItem:)outlineView(_:setObjectValue:for:byItem:)outlineView(_:sortDescriptorsDidChange:)outlineView(_:updateDraggingItemsForDrag:)outlineView(_:validateDrop:proposedItem:proposedChildIndex:)outlineView(_:writeItems:to:)