<!--
{
  "availability" : [
    "macOS: 10.5.0 - 10.13.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBrowserDelegate/browser(_:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWith:inColumn:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSBrowserDelegate(im)browser:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:inColumn:"
  },
  "title" : "browser(_:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWith:inColumn:)"
}
-->

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

Implements file promise drag operations.

```
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

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

## Discussion

Note that file promise drag operation support requires adding the data type [`filePromise`](/documentation/AppKit/NSPasteboard/PasteboardType/filePromise) to the pasteboard in the [`browser(_:writeRowsWith:inColumn:to:)`](/documentation/AppKit/NSBrowserDelegate/browser(_:writeRowsWith:inColumn:to:)) method.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)