BadgeHub alternatives and similar libraries
Based on the "UI" category.
Alternatively, view BadgeHub alternatives based on common mentions on social networks and blogs.
Charts10.0 7.7 L1 BadgeHub VS ChartsBeautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
Material9.9 0.0 L2 BadgeHub VS MaterialA UI/UX framework for creating beautiful applications.
Hero9.9 4.2 L2 BadgeHub VS HeroElegant transition library for iOS & tvOS
LTMorphingLabel9.8 0.0 L3 BadgeHub VS LTMorphingLabel[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift.
NVActivityIndicatorView9.8 0.0 L2 BadgeHub VS NVActivityIndicatorViewA collection of awesome loading animations
Eureka9.8 3.3 L2 BadgeHub VS EurekaElegant iOS form builder in Swift
Animated Tab Bar9.8 0.0 L5 BadgeHub VS Animated Tab Bar:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion
folding-cell9.8 0.0 L4 BadgeHub VS folding-cell:octocat: 📃 FoldingCell is an expanding content cell with animation made by @Ramotion
JTAppleCalendar9.7 0.0 L1 BadgeHub VS JTAppleCalendarThe Unofficial Apple iOS Swift Calendar View. Swift calendar Library. iOS calendar Control. 100% Customizable
XLPagerTabStrip9.7 0.0 L4 BadgeHub VS XLPagerTabStripAndroid PagerTabStrip for iOS.
FSPagerView9.7 0.0 L2 BadgeHub VS FSPagerViewFSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders.
SwiftMessages9.7 0.0 L2 BadgeHub VS SwiftMessagesA very flexible message bar for iOS written in Swift.
Macaw9.6 0.0 L2 BadgeHub VS MacawPowerful and easy-to-use vector graphics Swift library with SVG support
AMScrollingNavbar9.6 0.0 L4 BadgeHub VS AMScrollingNavbarScrollable UINavigationBar that follows the scrolling of a UIScrollView
SwiftEntryKit9.6 0.0 BadgeHub VS SwiftEntryKitSwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps.
Pagemenu9.6 0.0 L2 BadgeHub VS PagemenuA paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram)
SwipeCellKit9.6 0.0 L5 BadgeHub VS SwipeCellKitSwipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift.
TextFieldEffects9.6 0.0 L5 BadgeHub VS TextFieldEffectsCustom UITextFields effects inspired by Codrops, built using Swift
Alerts Pickers9.6 0.0 BadgeHub VS Alerts PickersAdvanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
SPPermission9.5 7.9 BadgeHub VS SPPermissionUniversal API for request permission and get its statuses.
SideMenu9.5 0.0 L5 BadgeHub VS SideMenuSimple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less.
Scrollable-GraphView9.5 0.0 L3 BadgeHub VS Scrollable-GraphViewAn adaptive scrollable graph view for iOS to visualise simple discrete datasets. Written in Swift.
PermissionScope9.5 0.0 L3 BadgeHub VS PermissionScopeA Periscope-inspired way to ask for iOS permissions.
ImagePicker9.5 0.0 L5 BadgeHub VS ImagePicker:camera: Reinventing the way ImagePicker works.
Material Components for iOS9.5 8.7 L1 BadgeHub VS Material Components for iOS[In maintenance mode] Modular and customizable Material Design UI components for iOS
SCLAlertView9.5 0.0 L2 BadgeHub VS SCLAlertViewBeautiful animated Alert View. Written in Swift
ESTabBarController9.4 1.0 BadgeHub VS ESTabBarController:octocat: ESTabBarController is a Swift model for customize UI, badge and adding animation to tabbar items. Support lottie!
BulletinBoard9.4 0.0 BadgeHub VS BulletinBoardGeneral-purpose contextual cards for iOS
NotificationBanner9.4 0.0 BadgeHub VS NotificationBannerThe easiest way to display highly customizable in app notification banners in iOS
Instructions9.4 5.3 L4 BadgeHub VS InstructionsCreate walkthroughs and guided tours (coach marks) in a simple way, with Swift.
ActiveLabel9.4 0.0 L4 BadgeHub VS ActiveLabelUILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift
SlideMenuControllerSwift9.3 0.0 L3 BadgeHub VS SlideMenuControllerSwiftiOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift.
TLYShyNavBar9.3 0.0 L4 BadgeHub VS TLYShyNavBarUnlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars!
PKHUD9.3 0.0 L4 BadgeHub VS PKHUDA Swift based reimplementation of the Apple HUD (Volume, Ringer, Rotation,…) for iOS 8.
Siren9.3 5.7 L4 BadgeHub VS SirenNotify users when a new version of your app is available and prompt them to upgrade.
DGElasticPullToRefresh9.3 0.0 L4 BadgeHub VS DGElasticPullToRefreshElastic pull to refresh for iOS developed in Swift
PopupDialog9.3 0.0 L2 BadgeHub VS PopupDialogA simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style.
StarWars.iOS9.2 0.0 L5 BadgeHub VS StarWars.iOSThis component implements transition animation to crumble view-controller into tiny pieces.
BouncyLayout9.2 0.0 BadgeHub VS BouncyLayoutMake. It. Bounce.
Persei9.2 0.0 L5 BadgeHub VS PerseiAnimated top menu for UITableView / UICollectionView / UIScrollView written in Swift
PanelKit9.2 0.0 L4 BadgeHub VS PanelKitA UI framework that enables panels on iOS.
KMNavigationBarTransition9.2 0.0 L5 BadgeHub VS KMNavigationBarTransitionA drop-in universal library helps you to manage the navigation bar styles and makes transition animations smooth between different navigation bar styles while pushing or popping a view controller for all orientations. And you don't need to write any line of code for it, it all happens automatically.
Cards XI9.2 0.0 BadgeHub VS Cards XIAwesome iOS 11 appstore cards in swift 5.
Whisper9.2 0.0 L4 BadgeHub VS Whisper:mega: Whisper is a component that will make the task of display messages and in-app notifications simple. It has three different views inside
CircleMenu9.1 0.0 L5 BadgeHub VS CircleMenu:octocat: ⭕️ CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. Swift UI library made by @Ramotion
RazzleDazzle9.1 0.0 L5 BadgeHub VS RazzleDazzleA simple keyframe-based animation framework for iOS, written in Swift. Perfect for scrolling app intros.
Parchment9.1 0.0 BadgeHub VS ParchmentA paging view controller with a highly customizable menu ✨
PaperOnboarding9.1 0.0 L5 BadgeHub VS PaperOnboarding:octocat: PaperOnboarding is a material design UI slider. Swift UI library by @Ramotion
DOFavoriteButton9.1 0.0 L3 BadgeHub VS DOFavoriteButtonCute Animated Button written in Swift.
XLActionController9.1 0.0 L4 BadgeHub VS XLActionControllerFully customizable and extensible action sheet controller written in Swift
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of BadgeHub or a related project?
A way to quickly add a notification badge icon to any view.
$ pod try BadgeHub
To run the example project, clone the repo, and run
pod install from the Example directory first.
$ cd Example
$ pod install
If you don't have CocoaPods installed, grab it with
[sudo] gem install cocoapods.
$ open BadgeHub.xcworkspace
- iOS 10.0 or later
- Swift 5+
- Xcode 10+
BadgeHub is available through CocoaPods. To install it, simply add the following line to your Podfile:
Just drag the
BadgeHub.swift files into your project.
let hub = BadgeHub(view: yourView) // Initially count set to 0
Initializer for setting badge to bar button items.
let hub = BadgeHub(barButtonItem: UIBarButtonItem)
Increase count value by 1.
Increase count by some int value.
Decrease count value by 1.
Decrease count by some int value.
Set count to static integer value.
Get value of current count on badge.
hub.getCurrentCount() // returns Int value of current count.
hub.increment() hub.pop() hub.blink()
Don't forget to
Change the color of the notification circle, also the text color of count label.
hub.setCircleColor(_ circleColor: UIColor?, label labelColor: UIColor?)
Change the border color and border width of the circle
hub.setCircleBorderColor(_ color: UIColor?, borderWidth width: CGFloat)
Set the frame of the notification badge circle relative to the view.
hub.setCircleAtFrame(_ frame: CGRect)
Move the circle (left/right or up/down).
hub.moveCircleBy(x: CGFloat, y: CGFloat)
Changes the size of the circle. setting a scale of 1 has no effect.
hub.scaleCircleSize(by scale: CGFloat)
Hide the count (Blank Badge). Keep in mind that this method is for hiding just count, not the badge.
Show count again on the badge.
Hide the badge from your view.
Show again the badge. Badge will staye hidden even after calling this method, if current count on badge is <= 0.
Set max count which can be displayed. This method can be used to restrict the maximum count can be set on the badge. Default value for max count is
100000. If you increase current count to more than max count, badge will display it like
500+ (if max count is 500).
Set the font of the count label.
hub.setCountLabelFont(_ font: UIFont?)
Get the current font set on the count label.
Set alpha to badge.
Pop out and pop in the badge.
Make badge blinking.
Animation that jumps similar to macOS dock icons.
Notification isn't showing up!
- If the hub value is < 1, the circle hides. Try calling
- Make sure the view you set the hub to is visible (i.e. did you call
- Make sure you didn't call
showCount()to counter this.
Badge is not hiding even after setting value to 0
- Make sure you are setting zero count on correct BadgeHub instance.
- Try calling
checkZero()method after setting count to 0.
- Varify if current count is <= 0 by calling
- Keep in mind that
hideCount()method is for hiding just count, not the badge. To hide the badge, simply call
It isn't incrementing / decrementing properly!
- Any count < 1 doesn't show up. If you need help customizing this, reach out to me!
The circle is in a weird place
- If you want to resize the circle, use
scaleCircleSize(by scale: CGFloat). 0.5 will give you half the size, 2 will give you double.
- If the circle is just a few pixels off, use
moveCircleBy(x: CGFloat, y: CGFloat). This shifts the circle by the number of pixels given.
- If you want to manually set the circle, call
setCircleAtFrame(_ frame: CGRect)and give it your own CGRect.
Something else isn't working properly
- Use GitHub's issue reporter to submit a new issue.
- If you think you fix that, feel free to open a pull request fixing the same.
- Shoot me an email at [email protected].
BUY ME A COFFEE?
If you loved my work, Buy me a Coffee here:
BadgeHub is available under the MIT license. See the [LICENSE](LICENSE) file for more info.
*Note that all licence references and agreements mentioned in the BadgeHub README section above are relevant to that project's source code only.