RAMTransitionItemAnimations
public class RAMTransitionItemAnimations : RAMItemAnimation
Transition animtion
-
Options for animating. Default TransitionNone
Declaration
Swift
public var transitionOptions : UIViewAnimationOptions!
-
Start animation, method call when UITabBarItem is selected
Declaration
Swift
override public func playAnimation(icon : UIImageView, textLabel : UILabel)
Parameters
icon
animating UITabBarItem icon
textLabel
animating UITabBarItem textLabel
-
Start animation, method call when UITabBarItem is unselected
Declaration
Swift
override public func deselectAnimation(icon : UIImageView, textLabel : UILabel, defaultTextColor : UIColor, defaultIconColor : UIColor)
Parameters
icon
animating UITabBarItem icon
textLabel
animating UITabBarItem textLabel
defaultTextColor
default UITabBarItem text color
defaultIconColor
default UITabBarItem icon color
-
Method call when TabBarController did load
Declaration
Swift
override public func selectedState(icon : UIImageView, textLabel : UILabel)
Parameters
icon
animating UITabBarItem icon
textLabel
animating UITabBarItem textLabel