TMBarDelegate
public protocol TMBarDelegate : AnyObject
Delegate to a TMBar
that is primarily responsible for handling user interaction within the bar.
-
Bar requires scrolling to a new page following a user interaction.
Declaration
Swift
func bar(_ bar: TMBar, didRequestScrollTo index: Int)
Parameters
bar
The bar.
index
The new index.