<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTabViewItem/tabView",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTabViewItem(py)tabView"
  },
  "title" : "tabView"
}
-->

# tabView

Returns the parent tab view for the receiver.

```
var tabView: NSTabView? { get }
```

## Discussion

Note that this is the tab view itself, not the view displayed when a user clicks the tab.

A tab view item normally learns about its parent tab view when it is inserted into the view’s array of items. The NSTabView methods [`addTabViewItem(_:)`](/documentation/AppKit/NSTabView/addTabViewItem(_:)) and [`insertTabViewItem(_:at:)`](/documentation/AppKit/NSTabView/insertTabViewItem(_:at:)) set the tab view for the added or inserted item.

## See Also

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

Sets the view associated with the receiver to `view`.



---

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)