MIBadgeButton alternatives and similar libraries
Based on the "Button" category.
Alternatively, view MIBadgeButton alternatives based on common mentions on social networks and blogs.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of MIBadgeButton or a related project?
MIBadgeButton is badge button written in Swift with high UITableView/UICollectionView performance.
MIBadgeButton is available through CocoaPods, to install it simply add the following line to your Podfile:
# Swift 3 use_frameworks! pod "MIBadgeButton-Swift", :git => 'https://github.com/mustafaibrahim989/MIBadgeButton-Swift.git', :branch => 'master' # Swift 2 use_frameworks! pod "MIBadgeButton-Swift", :git => 'https://github.com/mustafaibrahim989/MIBadgeButton-Swift.git', :branch => 'swift2'
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)
Change the badge text color and background color
button.badgeTextColor = UIColor.blueColor() button.badgeBackgroundColor = UIColor.redColor()
Mustafa Ibrahim, [email protected]
Designed for iOS 8.
MIBadgeButton is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the MIBadgeButton README section above are relevant to that project's source code only.