Latest 0.1.1
Homepage https://github.com/tarekabdallah/TACustomTabBarController
License Apache License 2.0
Platforms ios 9.0
Authors

CI Status
Version
License
Platform

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.

<img src =’https://github.com/tarekabdallah/TACustomTabBarController/blob/master/resources/ScaleTransform.gif
alt="ScaleTransform animation" width=’450’>

ScaleOutAndTransform animation

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

<img src =’https://github.com/tarekabdallah/TACustomTabBarController/blob/master/resources/scaleOutAndScroll.gif
alt="ScaleTransform animation" width=’450’>

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.

<img src =’https://github.com/tarekabdallah/TACustomTabBarController/blob/master/resources/scaleUp.gif
alt="ScaleTransform animation" width=’450’>

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.

<img src =’https://github.com/tarekabdallah/TACustomTabBarController/blob/master/resources/scaleDown.gif
alt="ScaleTransform animation" width=’450’>

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.

Latest podspec

{
    "name": "TACustomTabBarController",
    "version": "0.1.1",
    "summary": "TACustomTabBarController is a tabBar controller ability to control the design (item background color, text position, text font ...).",
    "description": "TACustomTabBarController is a tabBar controller ability to control the design (item background color, text position, text font ...). It gives the developer an easy way to design his app with minimal restriction",
    "homepage": "https://github.com/tarekabdallah/TACustomTabBarController",
    "license": {
        "type": "Apache License 2.0",
        "file": "LICENSE"
    },
    "authors": {
        "Tarek": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tarekabdallah/TACustomTabBarController.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "TACustomTabBarController/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This