JHProgressHUD alternatives and similar libraries
Based on the "Activity Indicator" category.
Alternatively, view JHProgressHUD alternatives based on common mentions on social networks and blogs.
-
SVProgressHUD
A clean and lightweight progress HUD for your iOS and tvOS app. -
NVActivityIndicatorView
A collection of awesome loading animations -
SkeletonView
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting -
M13ProgressSuite
A suite containing many tools to display progress information on iOS. -
PKHUD
A Swift based reimplementation of the Apple HUD (Volume, Ringer, Rotation,…) for iOS 8. -
ProgressHUD
ProgressHUD is a lightweight and easy-to-use HUD for iOS. -
MRProgress
Collection of iOS drop-in components to visualize progress -
DACircularProgress
DACircularProgress is a UIView subclass with circular UIProgressView properties. -
SwiftSpinner
A beautiful activity indicator and modal alert written in Swift (originally developed for my app DoodleDoodle) Using blur effects, translucency, flat and bold design - all iOS 8 latest and greatest -
FillableLoaders
Completely customizable progress based loaders drawn using custom CGPaths written in Swift -
MKRingProgressView
⭕️ Ring progress view similar to Activity app on Apple Watch -
YLProgressBar
UIProgressView replacement with an highly and fully customizable animated progress bar in pure Core Graphics -
KDCircularProgress
A circular progress view with gradients written in Swift -
MBCircularProgressBar
A circular, animatable & highly customizable progress bar from the Interface Builder (Objective-C) -
FFCircularProgressView
FFCircularProgressView - An iOS 7-inspired blue circular progress view -
PageControls
This is a selection of custom page controls to replace UIPageControl, inspired by a dribbble found here: https://dribbble.com/shots/2578447-Page-Control-Indicator-Transitions-Collection -
Windless
Windless makes it easy to implement invisible layout loading view. -
StackViewController
A controller that uses a UIStackView and view controller composition to display content in a list -
ParticlesLoadingView
A customizable SpriteKit particles animation on the border of a view. -
GradientLoadingBar
⌛️A customizable animated gradient loading bar. -
AlamofireNetworkActivityIndicator
Controls the visibility of the network activity indicator on iOS using Alamofire. -
Skeleton
✨ An easy way to create sliding CAGradientLayer animations! Works great for creating skeleton screens for loading content. -
FlexibleSteppedProgressBar
Flexible Stepped Progress Bar for IOS -
EZLoadingActivity
:hatching_chick: Lightweight Swift loading activity for iOS7+ -
WSProgressHUD
This is a beauful hud view for iPhone & iPad -
GearRefreshControl
A custom animation for the UIRefreshControl -
GradientProgressBar
📊 A customizable gradient progress bar (UIProgressView). -
RSLoadingView
Awesome loading animations using 3D engine written with Swift -
DSGradientProgressView
A simple animated progress bar in Swift -
BigBrother
Automatically sets the network activity indicator for any performed request. -
StepProgressView
Step-by-step progress view with labels and shapes. A good replacement for UIActivityIndicatorView and UIProgressView. -
Hexacon
A fancy hexagonal layout for displaying data like your Apple Watch -
RPCircularProgress
Circular progress UIView subclass with UIProgressView properties -
AudioIndicatorBars
AIB indicates for your app users which audio is playing. Just like the Podcasts app. -
IHProgressHUD
A clean and lightweight progress HUD based on SVProgressHUD, converted to Swift with the help of Swiftify. -
KYNavigationProgress
Simple extension of UINavigationController to display progress on the UINavigationBar. -
RPLoadingAnimation
Loading animations :cyclone: by using Swift CALayer -
LinearProgressBar
A simple Linear Progress Bar for IOS (Swift 3.0), inspired by Material Design -
StatusBarOverlay
StatusBarOverlay will automatically show a "No Internet Connection" bar when your app loses connection, and hide it again. It supports apps which hide the status bar and The Notch -
ProgressIndicatorView
An iOS progress indicator view library written in SwiftUI
Appwrite - The open-source backend cloud platform
* 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 JHProgressHUD or a related project?
README
JHProgressHUD
JHProgressHUD is an iOS class written in Swift to display a translucent HUD with an indicator and/or labels while work is being done in a background thread. The HUD is meant as a replacement for the private UIKit UIProgressHUD.
Screenshots
Adding JHProgressHUD to your project
Source Files
Add the JHProgressHUD.swift
file to your project.
- Download the latest code version or add the repository as a git submodule to your git-tracked project.
- Open your project in Xcode, then drag and drop
JHProgressHUD.swift
onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
Usage
The JHProgressHUD
is a singleton class and has only a single instance throughout the project. That is you see the same HUD added to multiple views. As a result, HUD duplication doesn't happen. You can use the following code to access the instance of JHProgressHUD
anywhere inside the project.
JHProgressHUD.sharedHUD
To show the HUD added to a view, with a title and footer text, use the following code:
JHProgressHUD.sharedHUD.showInView(self.view, withHeader: "Loading", andFooter: "Please Wait")
To show the HUD added to a window, with a title and footer text, use the following code:
JHProgressHUD.sharedHUD.showInWindow(aWindow, withHeader: "Loading", andFooter: "Please Wait")
To show the HUD without any header and footer text added to a view:
JHProgressHUD.sharedHUD.showInView(self.view)
To show the HUD without any header and footer text added to a window:
JHProgressHUD.sharedHUD.showInWindow(aWindow)
To hide the loader, you can call the following function from any class. The HUD will be removed from any view it is shown in:
JHProgressHUD.sharedHUD.hide()
You can also change the colors of different elements of the HUD using the following four properties:
JHProgressHUD.sharedHUD.headerColor = UIColor.redColor() // Changes the color of the title text
JHProgressHUD.sharedHUD.footerColor = UIColor.greenColor() // Changes the color of the footer text
JHProgressHUD.sharedHUD.backGroundColor = UIColor.blueColor() // Changes the color of the translucent background
JHProgressHUD.sharedHUD.loaderColor = UIColor.yellowColor() // Changes the color of the loading indicator
The HUD might not show if you try to display the loader in a ViewController
's viewDidLoad()
method, since adding subviews maynot always work in the viewDidLoad()
. It is prefered to show the HUD at least only after the viewWillAppear()
is called. The HUD blocks the user interaction in the underlying view or window once it is shown, till it is hidden.
License
This code is distributed under the terms and conditions of the MIT license.
*Note that all licence references and agreements mentioned in the JHProgressHUD README section above
are relevant to that project's source code only.