Skip to content

emvakar/EKTabBar

Repository files navigation

EKTabBarController

Swift 5.6+ Xcode 13.4+ iOS 13.0+ Telegram: @emvakar Linkedin: emvakar Twitter: @emvakar

Screens

example

Installation 📱

Just add https://github.com/emvakar/EKTabBar.git to your Package.swift or Xcode project. Done!

Usage ✨

Step 1

Importing framework

import EKTabBarController

Step 2

Somewhere in your code, create items

let item1 = EKControllerItem(tabBarButtonItem: UITabBarItem(...), viewController: UIViewController())
let item2 = EKControllerItem(tabBarButtonItem: UITabBarItem(...), viewController: UIViewController())

Step 3

Init TabBar controller

let tabBarController = EKTabBarController(controllerItems: [item1, item2], cornerRadius: 20, backgroundColor: .green)

Step 4

Show it ;)

self.present(tabBarController, animated: true)

Requirements

  • Xcode 13.4+
  • Swift 5.6
  • iOS 13+

License

This project is under MIT license. For more information, see LICENSE file.

Credits

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! 🤓