docs/docsets/RAMAnimatedTabBarDemo.docset/Contents/Resources/Documents/Classes/RAMAnimatedTabBarController.html
public class RAMAnimatedTabBarController: UITabBarController
UITabBarController with item animations
[
](#/life%20circle)
`
init(nibName:bundle:)
`
Returns a newly initialized view controller with the nib file in the specified bundle.
Swift
public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?)
| nibNameOrNil |
The 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.
|
| nibBundleOrNil |
The 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.
|
A newly initialized RAMAnimatedTabBarController object.
`
init(viewControllers:)
`
Returns a newly initialized view controller with the nib file in the specified bundle.
Swift
public init(viewControllers: [UIViewController])
| viewControllers |
Sets the root view controllers of the tab bar controller.
|
A newly initialized RAMAnimatedTabBarController object.
`
init(coder:)
`
Returns a newly initialized view controller with the nib file in the specified bundle.
Swift
required public init?(coder aDecoder: NSCoder)
| coder |
An unarchiver object.
|
A newly initialized RAMAnimatedTabBarController object.
`
changeSelectedColor(_:iconSelectedColor:)
`
Change selected color for each UITabBarItem
Swift
public func changeSelectedColor(textSelectedColor:UIColor, iconSelectedColor:UIColor)
| textSelectedColor |
set new color for text
|
| iconSelectedColor |
set new color for icon
|
`
animationTabBarHidden(_:)
`
Hide UITabBarController
Swift
public func animationTabBarHidden(isHidden:Bool)
| isHidden |
A Boolean indicating whether the UITabBarController is displayed
|
`
setSelectIndex(from:to:)
`
Selected UITabBarItem with animaton
Swift
public func setSelectIndex(from from: Int, to: Int)
| from |
Index for unselected animation
|
| to |
Index for selected animation
|
© 2016 AlexKalinkin. All rights reserved. (Last updated: 2016-06-10)
Generated by jazzy ♪♫ v0.5.0, a Realm project.