Skip to content

ohcrider/FFNavigationBar

Repository files navigation

FFNavigationBar

CI Status Version License Platform

About

It can display multiple view and quick to jump to another view.

Demo

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

Features

more powerful and code is more easy to understand.

Usage

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

You can custom it,just override the method awakeFromNib.

    override func awakeFromNib() {
        super.awakeFromNib()

        var config = FFNavaigationBarConfig()
        config.screenNavMaxNumber = 3
        config.cursorViewHeight = 5
        config.navTitles = ["Custom0",
                            "Custom1",
                            "Custom2",
                            "Custom3",
                            "Custom4",
                            "Custom5",
                            "Custom6",
                            "Custom7",
                            "Custom8",
                            "Custom9",
                            "Custom10"]
        config.navigationScrollViewHeight = 55
        config.navButtonHightlightFontColor = UIColor.redColor()
        config.navButtonNormalFontColor = UIColor.purpleColor()
        config.cursorViewColor = UIColor.redColor()

        config.animateDuration = 0.6
        
        self.config = config
    }

Installation

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

pod "FFNavigationBar"

Author

fewspider, fewspider@gmail.com

License

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