FluidTabBarController

Fluid Bottom Navigation library for iOS

Showing:

Popularity

Downloads/wk

0

GitHub Stars

44

Maintenance

Last Commit

3yrs ago

Contributors

0

Package

Dependencies

0

License

MIT

Categories

Readme

FluidTabBarController

Version License Platform

Example

Example

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

Requirements

Installation

FluidTabBarController doesn't contain any external dependencies.

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

pod 'FluidTabBarController'

Usage

To use FluidTabBarController in your application first create the FluidTabBarController instance:

let tabBarController = FluidTabBarController()

Then create items for all of view controllers you want to add to the tab bar controller. You must use FluidTabBarItem to make animations work.

let mainViewController = MainViewController()
let mainViewControllerItem = FluidTabBarItem(title: "Main", image: UIImage(named: "main"), tag: 0)
mainViewController.tabBarItem = mainViewControllerItem

Create an array of your view controllers and assign it to the tab bar's viewControllers property.

tabBarController.viewControllers = [mainViewController]

Customization

You can change the color of selected item's text by setting the tint color of the tab bar. tabBarController.tabBar.tintColor = UIColor.red

Tint color example

You can also change the color of icons by specifying imageColor and highlightImageColor or text color by modifying textColor and highlightTextColor.

Author

Hubert Kuczyński, hubert.kuczynski@10clouds.com

License

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100