Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/yusadogru/CardTabBar

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

ios swift

Last synced: about 2 months ago
JSON representation

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

Lists

README

        





























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](https://cocoapods.org) with Podfile:
``` ruby
pod 'CardTabBar'
```

or [Swift Package Manager](https://swift.org/package-manager/)

## Usage

```swift
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](http://opensource.org/licenses/MIT).