TMBarItem
open class TMBarItem : TMBarItemable
Default TMBarItemable
that can be displayed in a TMBar
.
-
Declaration
Swift
open var title: String? { get set }
-
Declaration
Swift
open var image: UIImage? { get set }
-
Declaration
Swift
open var badgeValue: String? { get set }
-
Declaration
Swift
public var accessibilityLabel: String? { get set }
-
Declaration
Swift
public var accessibilityHint: String? { get set }
-
Create an Item with a title.
Declaration
Swift
public convenience init(title: String, badgeValue: String? = nil)
Parameters
title
Title of the item.
badgeValue
Badge value to display.
-
Create an Item with an image.
Declaration
Swift
public convenience init(image: UIImage, badgeValue: String? = nil)
Parameters
image
Image of the item.
badgeValue
Badge value to display.
-
Create an Item with a title and an image.
Declaration
Swift
public convenience init(title: String, image: UIImage, badgeValue: String? = nil)
Parameters
title
Title of the item.
image
Image of the item.
badgeValue
Badge value to display.