TabBarConfig
public struct TabBarConfig
Undocumented
-
Undocumented
Declaration
Swift
public var titleFont: BooksFont
-
The normal (unselected) title color.
Not optional because of iOS bug: if the title color were the default
nil
, the tab bar item appearance would be taken into use only when the user interacts with the item.Declaration
Swift
public var titleColor: UIColor
-
Undocumented
Declaration
Swift
public var iconColor: UIColor?
-
Undocumented
Declaration
Swift
public var selectedTitleFont: BooksFont
-
Undocumented
Declaration
Swift
public var selectedTitleColor: UIColor?
-
Undocumented
Declaration
Swift
public var selectedIconColor: UIColor?
-
Undocumented
Declaration
Swift
public init( titleFont: BooksFont = BooksFont(style: .body, size: 10), titleColor: UIColor = .init(red: 149 / 255.0, green: 149 / 255.0, blue: 149 / 255.0, alpha: 1.0), iconColor: UIColor = .init(red: 149 / 255.0, green: 149 / 255.0, blue: 149 / 255.0, alpha: 1.0), selectedTitleFont: BooksFont = BooksFont(style: .body, size: 10), selectedTitleColor: UIColor? = nil, selectedIconColor: UIColor? = nil )