Contents

insertTabViewItem(_:at:)

Inserts the specified item into the tab view’s array of tab view items at the specified index.

Declaration

func insertTabViewItem(_ tabViewItem: NSTabViewItem, at index: Int)

Parameters

  • tabViewItem:

    The tab view item to be added.

  • index:

    The index at which to insert the tab view item. The index parameter is zero-based.

Discussion

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

See Also

Related Documentation

Adding and Removing Tabs