RAMAnimatedTabBarController
public class RAMAnimatedTabBarController: UITabBarController
UITabBarController with item animations
-
Returns a newly initialized view controller with the nib file in the specified bundle.
Declaration
Swift
public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?)Parameters
nibNameOrNilThe name of the nib file to associate with the view controller. The nib file name should not contain any leading path information. If you specify nil, the nibName property is set to nil.
nibBundleOrNilThe bundle in which to search for the nib file. This method looks for the nib file in the bundle’s language-specific project directories first, followed by the Resources directory. If this parameter is nil, the method uses the heuristics described below to locate the nib file.
Return Value
A newly initialized RAMAnimatedTabBarController object.
-
Returns a newly initialized view controller with the nib file in the specified bundle.
Declaration
Swift
public init(viewControllers: [UIViewController])Parameters
viewControllersSets the root view controllers of the tab bar controller.
Return Value
A newly initialized RAMAnimatedTabBarController object.
-
Returns a newly initialized view controller with the nib file in the specified bundle.
Declaration
Swift
required public init?(coder aDecoder: NSCoder)Parameters
coderAn unarchiver object.
Return Value
A newly initialized RAMAnimatedTabBarController object.
-
Change selected color for each UITabBarItem
Declaration
Swift
public func changeSelectedColor(textSelectedColor:UIColor, iconSelectedColor:UIColor)Parameters
textSelectedColorset new color for text
iconSelectedColorset new color for icon
-
Hide UITabBarController
Declaration
Swift
public func animationTabBarHidden(isHidden:Bool)Parameters
isHiddenA Boolean indicating whether the UITabBarController is displayed
-
Selected UITabBarItem with animaton
Declaration
Swift
public func setSelectIndex(from from: Int, to: Int)Parameters
fromIndex for unselected animation
toIndex for selected animation
RAMAnimatedTabBarController Class Reference