Skip to content

odedharth/SuperBadges

Repository files navigation

SuperBadges

Version License Platform language

Add emojis and colored dots as badges for your Tab Bar buttons ✨

Usage

Add an emoji badge:

  YourTabBarController.addDotAtTabBarItemIndex(index: 0, radius: 10, text : "👏🏻")

Add a colored dot badge:

    YourTabBarController.addDotAtTabBarItemIndex(index: 0, radius: 7, color : UIColor.blue)

Remove badge:

  YourTabBarController.removeDotAtTabBarItemIndex(index: 0)

Installation

SuperBadges is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SuperBadges"

Author

Oded Harth alt text

License

SuperBadges is available under the MIT license. See the LICENSE file for more info.