To run the example project, clone the repo, and run pod install
from the Example directory first.
TACustomTabBarController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TACustomTabBarController"
let customTabBarController = TACustomTabBarController()
Create the Tab view controller instance.
customTabBarController.setStartingViewController(viewController: <ViewController>)
Set the first view controller to be shownif it is not a part of the tab bar items
customTabBarController.setViewControllers(viewControllers: [<ViewController>,<ViewController>])
Set the View controllers that will be shown in the tabBar
customTabBarController.delegate = self
Set the Delegate to access the delegate functions provided
self.CustomTabController?.jumpToStartingViewController()
Insert if you wish to go back to the starting page add the following code in the view controller class a
self.CustomTabController?.selectItem(atIndex: <index>)
Select Tab Bar item at a specific index
This animation consists of scaling down the presenting view and scales up the presented view from the same frame. you can set the animation using the delegate.
This animation consists of scaling down the presenting view and scrol it. you can set the animation using the delegate.
This animation consists of scaling down the presenting view and zooming in to preview the presented view from the same frame. you can set the animation using the delegate.
This animation consists of scaling down the presenting view and zooming out to see the presented view from the same frame. you can set the animation using the delegate.
http://cocoadocs.org/docsets/TACustomTabBarController/0.1.1/
Tarek, [email protected]
TACustomTabBarController is available under the Apache license. See the LICENSE file for more info.