TMBarDataSource
public protocol TMBarDataSource : AnyObject
Data source to a TMBar that is primarily responsible for providing a bar with contents.
-
Provide a
BarItemfor an index in the bar.Declaration
Swift
func barItem(for bar: TMBar, at index: Int) -> TMBarItemableParameters
barThe bar.
indexIndex of the item.
Return Value
The BarItem.
View on GitHub
Install in Dash
TMBarDataSource Protocol Reference