DSGradientProgressView alternatives and similar libraries
Based on the "Activity Indicator" category.
Alternatively, view DSGradientProgressView 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 -
NJKWebViewProgress
UIWebView progress interface -
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 -
TKRubberIndicator
A rubber animation pagecontrol -
MKRingProgressView
⭕️ Ring progress view similar to Activity app on Apple Watch -
LiquidLoader
Spinner loader components with liquid animation -
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. -
ParticlesLoadingView
A customizable SpriteKit particles animation on the border of a view. -
StackViewController
A controller that uses a UIStackView and view controller composition to display content in a list -
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 -
iOS-CircleProgressView
CircleProgressView -
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 -
iOS Circle Progress Bar
iOS Circle Progress Bar -
GradientProgressBar
📊 A customizable gradient progress bar (UIProgressView). -
RSLoadingView
Awesome loading animations using 3D engine written with 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. -
SnapTimer
Implementation of Snapchat's stories timer. -
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. -
RHPlaceholder
Show pleasant loading view for your users 😍 -
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 DSGradientProgressView or a related project?
README
DSGradientProgressView
Introduction
DSGradientProgressView
is a simple and customizable animated progress bar written in Swift.
Inspired by GradientProgressView.
Demo
The gif looks flickery, but the actual animation on device will not be.
Usage
Simply drop a UIView
into your View Controller in the Storyboard. Select your view and, in the Identity Inspector
, change the class to DSGradientProgressView
.
Don't forget to change the module to
DSGradientProgressView
too.
Size the view according to your needs. (A 3px height looks great in most cases).
Import DSGradientProgressView
in your view controller source file.
import DSGradientProgressView
Create an IBOutlet
of the view in your view controller source file.
@IBOutlet weak var progressView: DSGradientProgressView!
Customize
You can change the base color of the progress bar. There are two ways to do this:
- By setting the
barColor
property of the view object in your source file.swift progressView.barColor = UIColor.green
- Changing the Bar Color property in Storyboard itself.
Animate
DSGradientProgressView
is designed to keep track of the number of requests waiting for completion. Hence the api's are named after semaphore method names. You call the wait()
method of the DSGradientProgressView
to start animating and signal()
method to stop. It hides and un-hides itself accordingly.
progressView.wait()
// waiting for some resource
progressView.signal()
So, if your View Controller is waiting for more than one network request (or any other resource) and you want the Progress Bar to animate until all the requests are over, you can do that by simply calling wait()
that number of times. Later, call signal()
the same number of times.
progressView.wait()
// waiting for some resource asynchronously
ResourceOne.sharedInstance.fetchData { (data, error) in
self.progressView.signal()
}
progressView.wait()
// waiting for another resource asynchronously
ResourceTwo.sharedInstance.fetchData { (data, error) in
self.progressView.signal()
}
Installation
CocoaPods (Recommended)
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
CocoaPods 1.1.0+ is required to build DSGradientProgressView 1.0.0+.
To integrate DSGradientProgressView into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'DSGradientProgressView'
end
Then, run the following command:
$ pod install
Manually
Copy the DSGradientProgressView.swift
to your Xcode project. That should do it.
Requirements
- iOS 8.0+
- Xcode 10.0+
- Swift 4.2+
Contacts
- Created and maintained by @abhinavtyagi
*Note that all licence references and agreements mentioned in the DSGradientProgressView README section above
are relevant to that project's source code only.