Buttons
Buttons in a TMBarView are a provided in the form of a TMBarButton collection. The buttons have the primary responsibility of displaying paging, user interaction and visually providing the current paging state (if appropriate).
Interaction with the TMBarButton collection of a TMBarView is provided via TMBarButtonCollection. This collection provides raw access to all displayed bar buttons, as well as utilities for customization.
-
A button that appears in a bar and provides the interaction for initiating a page index update.
Declaration
Swift
open class TMBarButton : UIControl -
Container for BarButton objects and related controllers.
Declaration
Swift
public final class TMBarButtonCollection<BarButton> : TMTransitionStyleable where BarButton : TMBarButton -
TMBarButtonthat consists of a single label - that’s it!Probably the most commonly seen example of a bar button.
Declaration
Swift
open class TMLabelBarButton : TMBarButton -
TMBarButtonwhich mimics appearance of aUITabBarItem, containing a image and label vertically aligned.Declaration
Swift
open class TMTabItemBarButton : TMBarButton -
Declaration
Swift
open class TMBadgeView : UIView
View on GitHub
Install in Dash
Buttons Reference