It can display multiple view and quick to jump to another view.
To run the example project, clone the repo, and run pod install
from the Example directory first.
more powerful and code is more easy to understand.
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
}
FFNavigationBar is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "FFNavigationBar"
fewspider, [email protected]
FFNavigationBar is available under the MIT license. See the LICENSE file for more info.