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

# browser(_:selectCellWith:inColumn:)

Asks the delegate to select the cell with the given title in the specified column.

```
@MainActor optional func browser(_ sender: NSBrowser, selectCellWith title: String, inColumn column: Int) -> Bool
```

## Parameters

`sender`

The browser.

`title`

The title of 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 successfully selected; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

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

## See Also

[`selectedCell(inColumn:)`](/documentation/AppKit/NSBrowser/selectedCell(inColumn:))

Returns the last (lowest) cell selected in the given 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)