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

# selectTabViewItem(withIdentifier:)

Selects the tab view item specified by `identifier`.

```
func selectTabViewItem(withIdentifier identifier: Any)
```

## Parameters

`identifier`

The identifier of the tab item to select.

## See Also

[`identifier`](/documentation/AppKit/NSTabViewItem/identifier)

Sets the receiver’s optional identifier object to `identifier`.



---

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)