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

# tabView

The tab view that manages the views of the interface.

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

## Discussion

Use this property to access the tab view controller’s content view. The object in this property may not be the same as the one in the tab view controller’s [`view`](/documentation/AppKit/NSViewController/view) property. The tab view controller works directly with the [`NSTabView`](/documentation/AppKit/NSTabView) object, setting itself as the tab view’s delegate. You must not modify the items of the tab view directly or change its delegate. Instead, use the methods of this class to make your changes.

Accessing this property creates the tab view object if it does not already exist. To determine whether the tab view has been created (without creating it prematurely), use the [`isViewLoaded`](/documentation/AppKit/NSViewController/isViewLoaded) property.

You may provide your own tab view by assigning it to this property. If you do so, you must assign your custom object before the tab view controller creates one of its own. In other words, you must assign your tab view object to this property while the [`isViewLoaded`](/documentation/AppKit/NSViewController/isViewLoaded) property is still <doc://com.apple.documentation/documentation/Swift/false>.

---

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)