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

# selectAll(_:)

Selects all cells in the last column of the browser.

```
func selectAll(_ sender: Any?)
```

## See Also

[`selectedColumn`](/documentation/AppKit/NSBrowser/selectedColumn)

The index of the last column with a selected item.

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

The last (rightmost and lowest) selected cell.



---

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)