Latest 0.0.4
Homepage https://github.com/chisj/WSTabBarController
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

License MIT 
[CocoaPods](http://cocoapods.org/?q= WSTabBarController) 
[CocoaPods](http://cocoapods.org/?q= WSTabBarController) 
Support 

A custom TabBarController with publish button written in Swift.

screenShot

Two tabs

screenShot2

Three tabs

screenShot3

Requirements

  • iOS 8.0+
  • Swift 2.2 (v0.0.3)
  • Swift 3.0 (V0.0.4)

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.

Latest podspec

{
    "name": "WSTabBarController",
    "version": "0.0.4",
    "summary": "A custom TabBarController with publish button written in Swift.",
    "homepage": "https://github.com/chisj/WSTabBarController",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Chisj": "[email protected]"
    },
    "source": {
        "git": "https://github.com/chisj/WSTabBarController.git",
        "tag": "0.0.4"
    },
    "source_files": "WSTabBarController/WSTabBarController/*.swift",
    "platforms": {
        "ios": "8.0"
    },
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This