Latest0.2.3
Homepagehttps://github.com/kumapo/ScrollableTabs
LicenseMIT
Platformsios 8.0, requires ARC
DependenciesRxSwift, RxCocoa
Authors

CI Status
Version
License
Platform

Screenshots

Screenshots_1

Usage

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

Requirements

Installation

ScrollableTabs is available through both CocoaPods and Carthage.

CocoaPods

To integrate it into your project using CocoaPods, specify it in your Podfile:

pod "ScrollableTabs"

Carthage

Specify it in your Cartfile:

github "kumapo/ScrollableTabs"

Usage

Container ViewController

import ScrollableTabs

class ViewController: UIViewController, ScrollableTabBarController {

    //Protocol Methods
    @IBOutlet weak var scrollBar: ScrollableTabBar!
    weak var delegate: ScrollableTabBarControllerDelegate?
    var isTransitioningFromViewController: Bool = false

    override func viewDidLoad() {
        super.viewDidLoad()
        // Initialize childViewController1 and childViewController2
        // .. 
        setViewControllers([childViewController1, childViewController2], animated: false)
        selectedViewController = childViewController1

Content ViewController

class ChildViewController: UIViewController, ScrollableTabBarContentableController {
    lazy var item: UIBarButtonItem = {
    // Initialize UIBarButtonItem
    // .. 
    }()

Author

kumapo, [email protected]

License

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

Latest podspec

{
    "name": "ScrollableTabs",
    "version": "0.2.3",
    "summary": "Protocol-oriented Scrollable TabBar written in Swift 4",
    "description": "Protocol-oriented Scrollable TabBar written in Swift 4.",
    "homepage": "https://github.com/kumapo/ScrollableTabs",
    "screenshots": "https://github.com/kumapo/ScrollableTabs/raw/screenshots/screenshots_1.gif",
    "license": "MIT",
    "authors": {
        "kumapo": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kumapo/ScrollableTabs.git",
        "tag": "0.2.3"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "ScrollableTabs/Classes/**/*",
    "dependencies": {
        "RxSwift": [
            "4.1.2"
        ],
        "RxCocoa": [
            "4.1.2"
        ]
    },
    "pushed_with_swift_version": "4.0-DEVELOPMENT-SNAPSHOT-2017-08-04-a"
}

Pin It on Pinterest

Share This