Back to Animated Tab Bar

RAMAnimatedTabBarItem

docs/Classes/RAMAnimatedTabBarItem.html

5.2.01.9 KB
Original Source

RAMAnimatedTabBarItem

public class RAMAnimatedTabBarItem: UITabBarItem

UITabBarItem with animation

`

                animation
                `

animation for UITabBarItem. use RAMFumeAnimation, RAMBounceAnimation, RAMRotationAnimation, RAMFrameItemAnimation, RAMTransitionAnimation or create custom anmation inherit RAMItemAnimation

Declaration

Swift

@IBOutlet public var animation: RAMItemAnimation!

`

                textFont
                `

The font used to render the UITabBarItem text.

Declaration

Swift

public var textFont: UIFont = UIFont.systemFontOfSize(10)

`

                textColor
                `

The color of the UITabBarItem text.

Declaration

Swift

@IBInspectable public var textColor: UIColor = UIColor.blackColor()

`

                iconColor
                `

The tint color of the UITabBarItem icon.

Declaration

Swift

@IBInspectable public var iconColor: UIColor = UIColor.clearColor() // if alpha color is 0 color ignoring

`

                playAnimation()
                `

Start selected animation

Declaration

Swift

public func playAnimation()

`

                deselectAnimation()
                `

Start unselected animation

Declaration

Swift

public func deselectAnimation()

`

                selectedState()
                `

Set selected state without animation

Declaration

Swift

public func selectedState()

`

                badgeValue
                `

The current badge value

Declaration

Swift

override public var badgeValue: String?

© 2016 AlexKalinkin. All rights reserved. (Last updated: 2016-06-10)

Generated by jazzy ♪♫ v0.5.0, a Realm project.