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.
-
The dataSource of the tabs control, providing all the necessary information for the class to build the tabs.
Declaration
Swift
@IBOutlet open weak var dataSource: TabsControlDataSource? -
The delegate of the tabs control, providing additional possibilities for customization and precise behavior.
Declaration
Swift
@IBOutlet open weak var delegate: TabsControlDelegate?
-
Undocumented
Declaration
Swift
open class TabsControl: NSControl, NSTextDelegate
-
Undocumented
Declaration
Swift
open class TabsControl: NSControl, NSTextDelegate -
Undocumented
Declaration
Swift
open class TabsControl: NSControl, NSTextDelegate
-
Undocumented
Declaration
Swift
open class TabsControl: NSControl, NSTextDelegate
-
Reloads all tabs of the tabs control. Used when the
dataSourcehas changed for instance.Declaration
Swift
open func reloadTabs()
-
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
indexAn integer indicating the index of the item to be selected.
-
Starts editing the tab as if the user double-clicked on it. If
indexis out of bounds, it does nothing.Declaration
Swift
open func editTabAtIndex(_ index: Int) -
Undocumented
Declaration
Swift
open class TabsControl: NSControl, NSTextDelegate
-
Undocumented
Declaration
Swift
open class TabsControl: NSControl, NSTextDelegate -
Undocumented
Declaration
Swift
open class TabsControl: NSControl, NSTextDelegate
-
Undocumented
Declaration
Swift
open class TabsControl: NSControl, NSTextDelegate
-
Undocumented
Declaration
Swift
open class TabsControl: NSControl, NSTextDelegate -
Undocumented
Declaration
Swift
open class TabsControl: NSControl, NSTextDelegate
View on GitHub
Install in Dash
TabsControl Class Reference