https://github.com/odedharth/SuperBadges
Emoji Tab Bar button badges ✨
https://github.com/odedharth/SuperBadges
badges buttons emoji ios swift tabbar
Last synced: 7 months ago
JSON representation
Emoji Tab Bar button badges ✨
- Host: GitHub
- URL: https://github.com/odedharth/SuperBadges
- Owner: odedharth
- License: mit
- Created: 2016-12-30T12:33:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T12:28:07.000Z (over 7 years ago)
- Last Synced: 2024-11-13T14:15:42.802Z (over 1 year ago)
- Topics: badges, buttons, emoji, ios, swift, tabbar
- Language: Swift
- Homepage:
- Size: 27.3 KB
- Stars: 55
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - SuperBadges - Add emojis and colored dots as badges for your Tab Bar buttons (UI / Tab Bar)
- awesome-ios-star - SuperBadges - Add emojis and colored dots as badges for your Tab Bar buttons (UI / Tab Bar)
- fucking-awesome-ios - SuperBadges - Add emojis and colored dots as badges for your Tab Bar buttons (UI / Tab Bar)
README
# SuperBadges
[](http://cocoapods.org/pods/SuperBadges)
[](http://cocoapods.org/pods/SuperBadges)
[](http://cocoapods.org/pods/SuperBadges)

Add emojis and colored dots as badges for your Tab Bar buttons ✨
## Usage
Add an emoji badge:
```swift
YourTabBarController.addDotAtTabBarItemIndex(index: 0, radius: 10, text : "👏🏻")
```
Add a colored dot badge:
```swift
YourTabBarController.addDotAtTabBarItemIndex(index: 0, radius: 7, color : UIColor.blue)
```
Remove badge:
```swift
YourTabBarController.removeDotAtTabBarItemIndex(index: 0)
```
## Installation
SuperBadges is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod "SuperBadges"
```
## Author
[1]: http://www.twitter.com/odedharth
[1.1]: http://i.imgur.com/wWzX9uB.png (twitter icon with padding)
Oded Harth [![alt text][1.1]][1]
## License
SuperBadges is available under the MIT license. See the LICENSE file for more info.