Skip to content

This library is for adding animation to iOS tabbar items, which is inherited from UITabBarController.

License

Notifications You must be signed in to change notification settings

amralharazi/CardTabBar

 
 

Repository files navigation







animated animated


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'

or Swift Package Manager

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.

About

This library is for adding animation to iOS tabbar items, which is inherited from UITabBarController.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 95.2%
  • Ruby 4.8%