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: 4 months ago
JSON representation
This library is for adding animation to iOS tabbar items, which is inherited from UITabBarController.
- Host: GitHub
- URL: https://github.com/yusadogru/CardTabBar
- Owner: yusadogru
- License: mit
- Created: 2021-12-08T23:20:40.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-20T13:05:28.000Z (over 1 year ago)
- Last Synced: 2024-07-22T22:54:17.129Z (7 months ago)
- Topics: ios, swift
- Language: Swift
- Homepage:
- Size: 204 KB
- Stars: 220
- Watchers: 5
- Forks: 24
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- fucking-awesome-swift - CardTabBar - Adding animation to iOS tabbar items. (Libs / UI)
- awesome-swift - CardTabBar - Adding animation to iOS tabbar items. (Libs / UI)
README
![]()
![]()
![]()
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 CardTabBarclass 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).