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

# browser(_:selectRow:inColumn:)

Asks the delegate to select the cell at the specified row and column location.

```
@MainActor optional func browser(_ sender: NSBrowser, selectRow row: Int, inColumn column: Int) -> Bool
```

## Parameters

`sender`

The browser.

`row`

The index of the row containing the cell to select.

`column`

The index of the column containing the cell to select.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the cell was selected; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

Invoked in response to [`selectRow(_:inColumn:)`](/documentation/AppKit/NSBrowser/selectRow(_:inColumn:)) of [`NSBrowser`](/documentation/AppKit/NSBrowser) being received by `sender`.

## See Also

[`-  selectRow:inColumn:`](/documentation/AppKit/NSBrowser/selectRow(_:inColumn:))

Selects the cell at the specified row and column index.

[`-  selectedRowInColumn:`](/documentation/AppKit/NSBrowser/selectedRow(inColumn:))

Returns the row index of the selected cell in the specified column.



---

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)