Projects
View on GitHub
yusadogru/CardTabBar
About
This library is for adding animation to iOS tabbar items, which is inherited from UITabBarController.
Design & MediaMeasured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
This library is for adding animation to iOS tabbar items, which is inherited from UITabBarController.
Installation
Just add the Sources folder to your project.
or use CocoaPods with Podfile:
pod 'CardTabBar'
Usage
import CardTabBar
class TabBarController: CardTabBarController {
override func viewDidLoad() {
super.viewDidLoad()
setupViewController()
setupUI()
}
func setupUI() {
tabBar.tintColor = .TabBar.title
tabBar.backgroundColor = .background
tabBar.barTintColor = .Navigation.background
tabBar.indicatorColor = .TabBar.itemBackground
}
func setupViewController() {
viewControllers = [UIViewController(), UIViewController()]
}
}
License
The library is available as open source under the terms of the MIT License.
Explore related projects
Loading…