Latest 0.1.0
Homepage https://github.com/mouhammedali/GradientHUD
License MIT
Platforms ios 9.0
Authors

CI Status
Version
License
Platform

GradientHUD

GradientHUD

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

mouhammedali, [email protected]

License

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

Latest podspec

{
    "name": "GradientHUD",
    "version": "0.1.0",
    "summary": "Colorful Loading HUD",
    "description": "Gradient HUD, to provide more interesting loading screens",
    "homepage": "https://github.com/mouhammedali/GradientHUD",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "mouhammedali": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mouhammedali/GradientHUD.git",
        "tag": "0.1.0"
    },
    "swift_versions": "4.0",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Classes/*.{swift}",
    "ios": {
        "frameworks": [
            "UIKit",
            "Foundation"
        ]
    }
}

Pin It on Pinterest

Share This