PUWaitHUD
is the collection of awesome loading animations that can be used to display as api response waiting indicators.
Types
- Dashed
- Infinity
- Ripley
- Quarbit
Cocoapods is a dependency manager for Swift and Objective-C Cocoa projects. To use PUWaitHUD with CocoaPods, add it in your Podfile
.
pod 'PUWaitHUD'
To specify with version:
pod 'PUWaitHUD', :git => 'https://github.com/PayalUmraliya/PUWaitHUD.git', :branch => '1.0.5'
First you need to import PUWaitHUD
at the view controller file where you are going to use.
import PUWaitHUD
LoadingHud.showDefaultHUD(self.view,.dashed)
LoadingHud.dismissHUD()
Above is the basic usage for the HUD, you can change type as per your need.
The MIT License (MIT)
Copyright (c) 2021 TheKarma
Payal Umraliya [[email protected]]
ツツツツツツ