RAMAnimatedTabBarItem
public class RAMAnimatedTabBarItem: UITabBarItem
UITabBarItem with animation
-
animation for UITabBarItem. use RAMFumeAnimation, RAMBounceAnimation, RAMRotationAnimation, RAMFrameItemAnimation, RAMTransitionAnimation or create custom anmation inherit RAMItemAnimation
Declaration
Swift
@IBOutlet public var animation: RAMItemAnimation!
-
The font used to render the UITabBarItem text.
Declaration
Swift
public var textFont: UIFont = UIFont.systemFontOfSize(10)
-
The color of the UITabBarItem text.
Declaration
Swift
@IBInspectable public var textColor: UIColor = UIColor.blackColor()
-
The tint color of the UITabBarItem icon.
Declaration
Swift
@IBInspectable public var iconColor: UIColor = UIColor.clearColor() // if alpha color is 0 color ignoring
-
Start selected animation
Declaration
Swift
public func playAnimation()
-
Start unselected animation
Declaration
Swift
public func deselectAnimation()
-
Set selected state without animation
Declaration
Swift
public func selectedState()
-
The current badge value
Declaration
Swift
override public var badgeValue: String?