RHPlaceholder alternatives and similar libraries
Based on the "Activity Indicator" category.
Alternatively, view RHPlaceholder alternatives based on common mentions on social networks and blogs.
-
SVProgressHUD
A clean and lightweight progress HUD for your iOS and tvOS app. -
SkeletonView
โ ๏ธ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting -
NVActivityIndicatorView
A collection of awesome loading animations -
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. -
MRProgress
Collection of iOS drop-in components to visualize progress -
ProgressHUD
ProgressHUD is a lightweight and easy-to-use HUD for iOS. -
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. -
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. -
EZLoadingActivity
:hatching_chick: Lightweight Swift loading activity for iOS7+ -
FlexibleSteppedProgressBar
Flexible Stepped Progress Bar for IOS -
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 -
BigBrother
Automatically sets the network activity indicator for any performed request. -
DSGradientProgressView
A simple animated progress bar in Swift -
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 -
JDBreaksLoading
You can easily start up a little breaking game by one line.
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 RHPlaceholder or a related project?
README
RHPlaceholder ๐พ
Because traditional loading view
like UIActivityIndicatorView
or similar one are no longer so trendy (Facebook or Instagram apps are moving away from these approaches), I decided to create very simple library which will give you oportunity to have Facebook or Instagram 'view loading state' in your great project without big effort ๐ฅ! ๐
Play with it ๐
Installation
You can install library using Cocoapods:
pod 'RHPlaceholder'
or using Carthage:
add
github "robertherdzik/RHPlaceholder"
to your Cartfile and perform carthage update --platform iOS.
Usage
WOW... it is soo easy to use ๐! Base integration with your storyboard VC will take couple minutes ๐ฅ
Base Usage
just create instance const of Placeholder
in your ViewController
:
private let placeholderMarker = Placeholder() // By default you will have Insta like gradient animation
bear in mind, that you can choose between couple of predefined animations (like e.g. RainbowAnimatorGradient):
private let placeholderMarker = Placeholder(layerAnimator: RainbowAnimatorGradient.self)
... and then just bind up library with your views which needs to be animated:
private func addPlaceholder() {
let viewElements: [UIView] = [
name,
surname,
age,
email,
birthDate
]
placeholderMarker.register(viewElements)
}
call addPlaceholder()
method in viewDidLoad()
.
Boom ๐ฒ library has been associated with your views ๐
all what left, is to controll showing 'loading state' animation on your views using startAnimation()
and remove()
func fetchUserData() {
placeholderMarker.startAnimation()
apiManager.fetchUser() { [weak self] user in
self?.placeholderMarker.remove()
// .. rest of the method
}
}
List of available animatotrs:
(default
) InstaLayerAnimatorGradient
BackAndForthLayerAnimatorGradient BlinkAnimator RainbowAnimatorGradient
Customization
You can add your own Animators, by conforming to the LayerAnimating
protocol and passing your new Animator as a param to the Placeholder
init.
Swift support
Library ver | Swift ver | Note |
---|---|---|
0.0.3 | 4.1 | Very early version, API may change |
0.0.5 | 4.2 | Very early version, API may change |
0.0.6 | 5.0 | Very early version, API may change |
Check the Demo project
Please check out the demo project, you can see there how Library has been implemented in details.
Layout Inspiration
Layout inspiration has been taken from one of the Dribbble projects, unfortunately I cannot find now this project anymore, because of that I cannot annotate creator in here ๐ฆ...
Assets
- Great ๐ tab bar icons from: Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
- Cool ๐ profile icon from: Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
*Note that all licence references and agreements mentioned in the RHPlaceholder README section above
are relevant to that project's source code only.