---
title: "removeTabViewItem(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstabview/removetabviewitem(_:)"
---

# removeTabViewItem(_:)

Removes the specified item from the tab view’s array of tab view items.

## Declaration

```swift
func removeTabViewItem(_ tabViewItem: NSTabViewItem)
```

## Parameters

- `tabViewItem`: The tab view item to be removed.

## Discussion

Discussion If there is a delegate and the delegate supports it, sends the delegate the tabViewDidChangeNumberOfTabViewItems(_:) message.

## See Also

### Related Documentation

- [tabViewItems](appkit/nstabview/tabviewitems.md)

### Adding and Removing Tabs

- [addTabViewItem(_:)](appkit/nstabview/addtabviewitem(_:).md)
- [insertTabViewItem(_:at:)](appkit/nstabview/inserttabviewitem(_:at:).md)
