<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTabView/removeTabViewItem(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTabView(im)removeTabViewItem:"
  },
  "title" : "removeTabViewItem(_:)"
}
-->

# removeTabViewItem(_:)

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

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

## Parameters

`tabViewItem`

The tab view item to be removed.

## Discussion

If there is a delegate and the delegate supports it, sends the delegate the [`tabViewDidChangeNumberOfTabViewItems(_:)`](/documentation/AppKit/NSTabViewDelegate/tabViewDidChangeNumberOfTabViewItems(_:)) message.

## See Also

[`tabViewItems`](/documentation/AppKit/NSTabView/tabViewItems)

The tab view’s array of tab view items.



---

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)