<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTabViewItem/State",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSTabState"
  },
  "title" : "NSTabViewItem.State"
}
-->

# NSTabViewItem.State

These constants describe the current display state of a tab:

```
enum State
```

## Topics

### Constants

[`NSBackgroundTab`](/documentation/AppKit/NSTabViewItem/State/backgroundTab)

A tab that’s not being displayed.

[`NSPressedTab`](/documentation/AppKit/NSTabViewItem/State/pressedTab)

A tab that the user is in the process of clicking. That is, the user has pressed the mouse button while the cursor is over the tab but has not released the mouse button.

[`NSSelectedTab`](/documentation/AppKit/NSTabViewItem/State/selectedTab)

The tab that’s being displayed.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)