Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/odedharth/SuperBadges
Emoji Tab Bar button badges ✨
https://github.com/odedharth/SuperBadges
badges buttons emoji ios swift tabbar
Last synced: about 1 month 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 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T12:28:07.000Z (about 6 years ago)
- Last Synced: 2024-11-13T14:15:42.802Z (about 2 months 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)
README
# SuperBadges
[![Version](https://img.shields.io/cocoapods/v/SuperBadges.svg?style=flat)](http://cocoapods.org/pods/SuperBadges)
[![License](https://img.shields.io/cocoapods/l/SuperBadges.svg?style=flat)](http://cocoapods.org/pods/SuperBadges)
[![Platform](https://img.shields.io/cocoapods/p/SuperBadges.svg?style=flat)](http://cocoapods.org/pods/SuperBadges)
![language](https://img.shields.io/badge/Language-%20Swift%20-orange.svg)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.