Different Awesome Loading Animations in Swift

In this article we are going to discuss about different awesome loading animations in swift.

PUWaitHUD

Introduction

PUWaitHUD is the collection of awesome loading animations that can be used to display as api response waiting indicators.

Output

Animation types

Types

  1. Dashed
  2. Infinity
  3. Ripley
  4. Quarbit

Installation

Cocoapods

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'

Usage

First you need to import PUWaitHUD at the view controller file where you are going to use.

import PUWaitHUD

Show HUD Example

LoadingHud.showDefaultHUD(self.view,.dashed)

Hide HUD

LoadingHud.dismissHUD()

Note:

Above is the basic usage for the HUD, you can change type as per your need.

License

The MIT License (MIT)

Copyright (c) 2021 TheKarma

Author

Payal Umraliya

Default image
Lingaraj Senapati
Hey There! I am Lingaraj Senapati, the Co-founder of lingarajtechhub.com My skills are Freelance, Web Developer & Designer, Corporate Trainer, Digital Marketer & Youtuber.
Articles: 216

Newsletter Updates

Enter your email address below to subscribe to our newsletter

Leave a Reply