---
title: "browser(_:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWith:inColumn:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsbrowserdelegate/browser(_:namesofpromisedfilesdroppedatdestination:fordraggedrowswith:incolumn:)"
---

# browser(_:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWith:inColumn:)

Implements file promise drag operations.

## Declaration

```swift
optional func browser(_ browser: NSBrowser, namesOfPromisedFilesDroppedAtDestination dropDestination: URL, forDraggedRowsWith rowIndexes: IndexSet, inColumn column: Int) -> [String]
```

## Parameters

- `browser`: The browser.
- `dropDestination`: The drop filesystem location.
- `rowIndexes`: The indexes of the rows the user is dropping.
- `column`: The index of the column containing the rows the user is dropping.

## Return Value

Return Value Filenames (not pathnames) for the actual files represented by the rows the user is dropping.

## Discussion

Discussion Note that file promise drag operation support requires adding the data type filePromise to the pasteboard in the browser(_:writeRowsWith:inColumn:to:) method.

## See Also

### Dragging

- [browser(_:canDragRowsWith:inColumn:with:)](appkit/nsbrowserdelegate/browser(_:candragrowswith:incolumn:with:).md)
- [browser(_:draggingImageForRowsWith:inColumn:with:offset:)](appkit/nsbrowserdelegate/browser(_:draggingimageforrowswith:incolumn:with:offset:).md)
- [browser(_:validateDrop:proposedRow:column:dropOperation:)](appkit/nsbrowserdelegate/browser(_:validatedrop:proposedrow:column:dropoperation:).md)
- [browser(_:acceptDrop:atRow:column:dropOperation:)](appkit/nsbrowserdelegate/browser(_:acceptdrop:atrow:column:dropoperation:).md)
- [browser(_:writeRowsWith:inColumn:to:)](appkit/nsbrowserdelegate/browser(_:writerowswith:incolumn:to:).md)
