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

# browser(_:typeSelectStringForRow:inColumn:)

Sent to the delegate to get the keyboard-based selection (type select) string for the specified row and column.

```
@MainActor optional func browser(_ browser: NSBrowser, typeSelectStringForRow row: Int, inColumn column: Int) -> String?
```

## Parameters

`browser`

The browser.

`row`

The row index.

`column`

The column index.

## Return Value

The keyboard-based selection string.

## Discussion

Returning the empty string or `nil` (for example, when the cell does not contain text) specifies that the `[``column`, `row``]` cell has no text to search.

If the delegate does not implement this method, all cells with text are searched, and the browser determines the keyboard-based selection text by sending [`stringValue`](/documentation/AppKit/NSCell/stringValue) to the cell specified by `column` and `row`.

---

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)