---
title: "tabViewDidChangeNumberOfTabViewItems(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstabviewdelegate/tabviewdidchangenumberoftabviewitems(_:)"
---

# tabViewDidChangeNumberOfTabViewItems(_:)

Informs the delegate that the number of tab view items in tabView has changed.

## Declaration

```swift
@MainActor optional func tabViewDidChangeNumberOfTabViewItems(_ tabView: NSTabView)
```

## Parameters

- `tabView`: The tab view that added or removed tabview items.

## See Also

### Related Documentation

- [Tab View Programming Topics](apple-archive/documentation/Cocoa/Conceptual/TabView.md)
- [numberOfTabViewItems](appkit/nstabview/numberoftabviewitems.md)
