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.
- Host: GitHub
- URL: https://github.com/yusadogru/CardTabBar
- Owner: yusadogru
- License: mit
- Created: 2021-12-08T23:20:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-20T13:05:28.000Z (11 months ago)
- Last Synced: 2024-03-30T20:21:20.381Z (3 months ago)
- Topics: ios, swift
- Language: Swift
- Homepage:
- Size: 204 KB
- Stars: 212
- Watchers: 5
- Forks: 23
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-swift - CardTabBar - Adding animation to iOS tabbar items. (Libs / UI)
- awesome-swifty - CardTabBar - Adding animation to iOS tabbar items. (Libs / UI)
- awesome-swift4 - CardTabBar - Adding animation to iOS tabbar items. (Libs / UI)
- awesome-swiftxx - CardTabBar - Adding animation to iOS tabbar items. (Libs / UI)
- awesome-stars - yusadogru/CardTabBar - This library is for adding animation to iOS tabbar items, which is inherited from UITabBarController. (Swift)
- fucking-awesome-swift - CardTabBar - Adding animation to iOS tabbar items. (Libs / UI)
- awesome-swifte - CardTabBar - Adding animation to iOS tabbar items. (Libs / UI)
- awesome-swiftqq - 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).