Just add https://github.com/emvakar/EKTabBar.git
to your Package.swift or Xcode project. Done!
Importing framework
import EKTabBarController
Somewhere in your code, create items
let item1 = EKControllerItem(tabBarButtonItem: UITabBarItem(...), viewController: UIViewController())
let item2 = EKControllerItem(tabBarButtonItem: UITabBarItem(...), viewController: UIViewController())
Init TabBar controller
let tabBarController = EKTabBarController(controllerItems: [item1, item2], cornerRadius: 20, backgroundColor: .green)
Show it ;)
self.present(tabBarController, animated: true)
- Xcode 13.4+
- Swift 5.6
- iOS 13+
This project is under MIT license. For more information, see LICENSE
file.
It will be updated when necessary and fixes will be done as soon as discovered to keep it up to date.
You can find me on Telegram @emvakar or Twitter @emvakar or Linkedin emkarimov.
Enjoy! 🤓