Skip to content

AtifNaveed/SwiftyProgressHud

Repository files navigation

Swifty Progress Hud

CI Status Version License Platform

Example

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

Requirements

Installation

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

pod 'SwiftyProgressHud'

Usage

var hud = SwiftyProgressHud()
hud.show(view: self.view)

Example

import UIKit
import SwiftyProgressHud

class ViewController: UIViewController {
    var hud: SwiftyProgressHud!

    override func viewDidLoad() {
        super.viewDidLoad()
        hud = SwiftyProgressHud()
    }

    func showHud() {
        hud.text = "Loading"
        hud.show(view: self.view)
    }

    func hideHud() {
        hud.hide()
    }
}

Author

AtifNaveed, atif.gcucs@gmail.com

License

SwiftyProgressHud 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