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

SuperBadges

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

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"

GitHub