CardTabBar

main

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






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.

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri May 17 2024 02:28:16 GMT-0900 (Hawaii-Aleutian Daylight Time)