MIBadgeButton is badge button written in Swift with high UITableView/UICollectionView performance.
Add MIBadgeButton to Storyboard or init with frame
button.badgeString = "120"
Set EdgeInsets to change the default position of the badge (Optional)
button.badgeEdgeInsets = UIEdgeInsetsMake(10, 0, 0, 15)
Mustafa Ibrahim, [email protected]
Designed for iOS 7.
MIBadgeButton is available under the MIT license. See the LICENSE file for more info.