This library is for adding animation to iOS tabbar items, which is inherited from UITabBarController.
Just add the Sources folder to your project.
or use CocoaPods with Podfile:
pod 'CardTabBar'
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()]
}
}
The library is available as open source under the terms of the MIT License.