Contents

indexOfTabViewItem(_:)

Returns the index of the specified item in the tab view.

Declaration

func indexOfTabViewItem(_ tabViewItem: NSTabViewItem) -> Int

Parameters

  • 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.

See Also

Related Documentation

Accessing Tabs