https://github.com/bionelabs/tabbarviewcontroller
Rotate TabbarViewController
https://github.com/bionelabs/tabbarviewcontroller
swift tabbar uitabbar uitabbarcontroller xcode
Last synced: 2 months ago
JSON representation
Rotate TabbarViewController
- Host: GitHub
- URL: https://github.com/bionelabs/tabbarviewcontroller
- Owner: bionelabs
- License: mit
- Created: 2020-05-31T05:29:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-13T16:10:33.000Z (about 5 years ago)
- Last Synced: 2025-03-20T20:17:15.158Z (3 months ago)
- Topics: swift, tabbar, uitabbar, uitabbarcontroller, xcode
- Language: Swift
- Size: 264 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TabbarViewController
Rotate TabbarViewController## Demo
![]()
![]()
## Installation
### CocoaPods
Soon### How to use
```swift
import UIKit
import TabbarViewControllerclass ViewController: TabbarViewController {
let ViewControllerA = MenuViewController()
let ViewControllerB = MenuViewController()
let ViewControllerC = MenuViewController()
let ViewControllerD = MenuViewController()
let ViewControllerE = MenuViewController()
override func loadView() {
super.loadView()
ViewControllerA.tabBarItem = UITabBarItem(
title: "Home",
image: UIImage(named:"home"),
selectedImage: nil)
ViewControllerB.tabBarItem = UITabBarItem(
title: "Media",
image: UIImage(named:"backup-media"),
selectedImage: nil)
ViewControllerC.tabBarItem = UITabBarItem(
title: "Reminder",
image: UIImage(named:"reminder"),
selectedImage: nil)
ViewControllerD.tabBarItem = UITabBarItem(
title: "Setting",
image: UIImage(named:"tabbar-setting"),
selectedImage: nil)
ViewControllerE.tabBarItem = UITabBarItem(
title: "Podcast",
image: UIImage(named:"tabbar-setting"),
selectedImage: nil)
ViewControllerA.view.backgroundColor = UIColor("F6F9FE")
ViewControllerB.view.backgroundColor = UIColor("b1cbf6")
ViewControllerC.view.backgroundColor = UIColor("c8daf9")
ViewControllerD.view.backgroundColor = UIColor("dfeafb")
ViewControllerE.view.backgroundColor = UIColor("ffffff")
self.viewControllers = [ViewControllerA,
ViewControllerB,
ViewControllerC,
ViewControllerD]
}
}```
## Contact
- Email: [email protected]
- Site: https://onebuffer.com
- Linkedin: https://www.linkedin.com/in/caophuocthanh/