TACustomTabBarController 0.1.2

TACustomTabBarController 0.1.2

TestsTested
LangLanguage SwiftSwift
License Custom
ReleasedLast Release Jun 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Tarek.



  • By
  • Tarek

TACustomTabBarController

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

TACustomTabBarController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "TACustomTabBarController"

Add TACustomTabBarController

let customTabBarController = TACustomTabBarController() 

Create the Tab view controller instance.

Set the starting View controller

customTabBarController.setStartingViewController(viewController: <ViewController>)

Set the first view controller to be shownif it is not a part of the tab bar items

Set the setView controllers

customTabBarController.setViewControllers(viewControllers: [<ViewController>,<ViewController>])

Set the View controllers that will be shown in the tabBar

Set the delegate

customTabBarController.delegate = self

Set the Delegate to access the delegate functions provided

Jump to starting View controller

self.CustomTabController?.jumpToStartingViewController()

Insert if you wish to go back to the starting page add the following code in the view controller class a

Select view controller at index

self.CustomTabController?.selectItem(atIndex: <index>)

Select Tab Bar item at a specific index

ScaleTransform animation

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.

ScaleTransform animation

ScaleOutAndTransform animation

This animation consists of scaling down the presenting view and scrol it. you can set the animation using the delegate.

ScaleTransform animation

ScaleUp animation

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.

ScaleTransform animation

ScaleDown animation

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.

ScaleTransform animation

View Documentation on:

http://cocoadocs.org/docsets/TACustomTabBarController/0.1.1/

Author

Tarek, [email protected]

License

TACustomTabBarController is available under the Apache license. See the LICENSE file for more info.