TabsControl

open class TabsControl: NSControl, NSTextDelegate

TabsControl is the main class of the library, and is designed to suffice for implementing tabs in your app. The only necessary thing for it to work is an implementation of its dataSource.

  • Undocumented

    Declaration

    Swift

    open class TabsControl: NSControl, NSTextDelegate
  • Select an item at a given index. Selecting an invalid index will unselected all tabs.

    Declaration

    Swift

    open func selectItemAtIndex(_ index: Int)

    Parameters

    index

    An integer indicating the index of the item to be selected.