Skip to content

Commit

Permalink
Merge pull request #1 from emvakar/emvakar-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
emvakar authored Jul 14, 2022
2 parents 40492f8 + cd1fcba commit 4d547c2
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 1 deletion.
65 changes: 64 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,66 @@
# EKTabBarController

Floating TabBar
![Swift 5.6+](https://img.shields.io/badge/Swift-5.6%2B-orange.svg)
![Xcode 13.4+](https://img.shields.io/badge/Xcode-13.4%2B-blue.svg)
![iOS 13.0+](https://img.shields.io/badge/iOS-13.0%2B-blue.svg)
[![Telegram: @emvakar](http://img.shields.io/badge/telegram-%40emvakar-70a1fb.svg?style=flat)](https://t.me/emvakar)
[![Linkedin: emvakar](http://img.shields.io/badge/linkedin-emvakar-70a1fb.svg?style=flat)](https://www.linkedin.com/in/emvakar)
[![Twitter: @emvakar](http://img.shields.io/badge/twitter-%40emvakar-70a1fb.svg?style=flat)](https://twitter.com/emvakar)

## Screens

<img src="example.png" alt="example" width="700"/>

## Installation 📱

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

## Usage ✨

### Step 1

Importing framework

```swift
import EKTabBarController
```
### Step 2

Somewhere in your code, create items

```swift
let item1 = EKControllerItem(tabBarButtonItem: UITabBarItem(...), viewController: UIViewController())
let item2 = EKControllerItem(tabBarButtonItem: UITabBarItem(...), viewController: UIViewController())
```
### Step 3

Init TabBar controller

```swift
let tabBarController = EKTabBarController(controllerItems: [item1, item2], cornerRadius: 20, backgroundColor: .green)
```
### Step 4

Show it ;)

```swift
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](https://t.me/emvakar) or Twitter [@emvakar](https://twitter.com/emvakar) or Linkedin [emkarimov](https://www.linkedin.com/in/emvakar).

Enjoy! 🤓
Binary file added example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4d547c2

Please sign in to comment.