Skip to content

mouhammedali/GradientHUD

Repository files navigation

GradientHUD

CI Status Version License Platform

Usage

first import GradientHUD to your class.

	import GradientHUD

initialize and show HUD

	let HUD = GradientHUD()
	HUD.show(on:self)

hide HUD

	HUD.hide()

Customizations

change gradient colors

HUD.gradientArr = [UIColor.blue.cgColor, UIColor.red.cgColor, UIColor.purple.cgColor]

change spinner color

HUD.spinnerView.color = UIColor.black.cgColor

clear background

HUD.dimBackground = true

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 9.0+
  • Xcode 9.0+
  • Swift 4.0

Installation

GradientHUD is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'GradientHUD'

Author

License

GradientHUD is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published