---
title: tabView
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstabviewitem/tabview
---

# tabView

Returns the parent tab view for the receiver.

## Declaration

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

## Discussion

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(_:) and insertTabViewItem(_:at:) set the tab view for the added or inserted item.

## See Also

### Related Documentation

- [view](appkit/nstabviewitem/view.md)
