WSTabBarController 0.0.4

WSTabBarController 0.0.4

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2016
SPMSupports SPM

Maintained by Chisj.



  • By
  • Chisj

WSTabBarController

       

A custom TabBarController with publish button written in Swift.

screenShot

Two tabs

screenShot2

Three tabs

screenShot3

Requirements

  • iOS 8.0+
  • Swift 2.2

Installation

pod "WSTabBarController"

Usage

import WSTabBarController

tabbarController = WSTabBarController(publishButtonConfig: {b in

                //set your publish button like size,image,etc.
            }, publishButtonClick: { b in 

                print("publish button clicked")
            })

Then use it just like a UITabBarController.

Custom publish button index

screenShot4

maintabbarController = WSTabBarController(publishButtonConfig: {b in

                //set your publish button like size,image,etc.
            }, publishButtonClick: { b in 
                print("publish button clicked")
            }, publishButtonIndex: 0)

For the usage, please refer to Sample Project.

Enjoy! :)

Author

Chisj, [email protected]

License

WSTabBarController is available under the MIT license. See the LICENSE file for more info.