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

# browser(_:acceptDrop:atRow:column:dropOperation:)

Sent to the delegate during a dragging session to determine whether to accept the drop.

```
@MainActor optional func browser(_ browser: NSBrowser, acceptDrop info: any NSDraggingInfo, atRow row: Int, column: Int, dropOperation: NSBrowser.DropOperation) -> Bool
```

## Parameters

`browser`

The browser.

`info`

The drag session information.

`row`

The drop row.

`column`

The drop column.

`dropOperation`

The drop location relative to `row`.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> to accept the drop; <doc://com.apple.documentation/documentation/Swift/false> to decline it.

## Discussion

This method is required for a browser to be a drag destination. It is invoked after the [`browser(_:validateDrop:proposedRow:column:dropOperation:)`](/documentation/AppKit/NSBrowserDelegate/browser(_:validateDrop:proposedRow:column:dropOperation:)) method allows the drop.

The delegate should incorporate the pasteboard data from the dragging session (`info``.draggingPasteboard`).

---

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)