TabBarItemContentView
open class TabBarItemContentView : UIView
Undocumented
-
The title displayed on the item, default is
nil
Declaration
Swift
open var title: String? { get set }
-
The image used to represent the item, default is
nil
Declaration
Swift
open var image: UIImage? { get set }
-
The imageURL used to represent the item, default is
nil
Declaration
Swift
open var imageURL: String? { get set }
-
The image displayed when the tab bar item is selected, default is
nil
.Declaration
Swift
open var selectedImage: UIImage? { get set }
-
The imageURL displayed when the tab bar item is selected, default is
nil
.Declaration
Swift
open var selectedImageURL: String? { get set }
-
A Boolean value indicating whether the item is enabled, default is
YES
.Declaration
Swift
open var enabled: Bool
-
A Boolean value indicating whether the item is selected, default is
NO
.Declaration
Swift
open var selected: Bool
-
A Boolean value indicating whether the item is highlighted, default is
NO
.Declaration
Swift
open var highlighted: Bool
-
Text color, default is
UIColor(white: 0.57254902, alpha: 1.0)
.Declaration
Swift
open var textColor: UIColor { get set }
-
Text color when highlighted, default is
UIColor(red: 0.0, green: 0.47843137, blue: 1.0, alpha: 1.0)
.Declaration
Swift
open var highlightTextColor: UIColor { get set }
-
Icon color, default is
UIColor(white: 0.57254902, alpha: 1.0)
.Declaration
Swift
open var iconColor: UIColor { get set }
-
Icon color when highlighted, default is
UIColor(red: 0.0, green: 0.47843137, blue: 1.0, alpha: 1.0)
.Declaration
Swift
open var highlightIconColor: UIColor { get set }
-
Background color, default is
UIColor.clear
.Declaration
Swift
open var backdropColor: UIColor { get set }
-
Background color when highlighted, default is
UIColor.clear
.Declaration
Swift
open var highlightBackdropColor: UIColor { get set }
-
Icon imageView renderingMode, default is
.alwaysTemplate
.Declaration
Swift
open var renderingMode: UIImage.RenderingMode { get set }
-
Item content mode, default is
.alwaysTemplate
Declaration
Swift
open var itemContentMode: TabBarItemContentMode { get set }
-
The offset to use to adjust the title position, default is
UIOffset.zero
.Declaration
Swift
open var titlePositionAdjustment: UIOffset { get set }
-
The insets that you use to determine the insets edge for contents, default is
UIEdgeInsets.zero
Declaration
Swift
open var insets: UIEdgeInsets { get set }
-
The insets that you use to determine the insets edge for image, default is
UIEdgeInsets.zero
Declaration
Swift
open var imageInsets: UIEdgeInsets { get set }
-
Undocumented
Declaration
Swift
open var imageView: UIImageView
-
Undocumented
Declaration
Swift
open var titleLabel: UILabel
-
Badge value, default is
nil
.Declaration
Swift
open var badgeValue: String? { get set }
-
Badge color, default is
nil
.Declaration
Swift
open var badgeColor: UIColor? { get set }
-
Badge view, default is
TabBarItemBadgeView()
.Declaration
Swift
open var badgeView: TabBarItemBadgeView { get set }
-
Badge offset, default is
UIOffset(horizontal: 6.0, vertical: -22.0)
.Declaration
Swift
open var badgeOffset: UIOffset { get set }
-
Undocumented
Declaration
Swift
public override init(frame: CGRect)
-
Undocumented
Declaration
Swift
public required init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration
Swift
open func updateDisplay()
-
Undocumented
Declaration
Swift
open func updateLayout()
-
Undocumented
Declaration
Swift
open func selectAnimation(animated: Bool, completion: (() -> ())?)
-
Undocumented
Declaration
Swift
open func deselectAnimation(animated: Bool, completion: (() -> ())?)
-
Undocumented
Declaration
Swift
open func reselectAnimation(animated: Bool, completion: (() -> ())?)
-
Undocumented
Declaration
Swift
open func highlightAnimation(animated: Bool, completion: (() -> ())?)
-
Undocumented
Declaration
Swift
open func dehighlightAnimation(animated: Bool, completion: (() -> ())?)
-
Undocumented
Declaration
Swift
open func badgeChangedAnimation(animated: Bool, completion: (() -> ())?)