A collection of awesome loading animations with swift

PUWaitHUD

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

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

GitHub