indexOfTabViewItem(_:)
Returns the index of the specified item in the tab view.
Declaration
func indexOfTabViewItem(_ tabViewItem: NSTabViewItem) -> IntParameters
- tabViewItem:
The tab view item.
Return Value
The zero-based index of tabViewItem, or NSNotFound if the item is not found.
Discussion
The returned index is zero-based.