To run the example project, clone the repo, and run pod install
from the Example directory first.
SwiftyProgressHud is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SwiftyProgressHud'
var hud = SwiftyProgressHud()
hud.show(view: self.view)
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()
}
}
AtifNaveed, atif.gcucs@gmail.com
SwiftyProgressHud is available under the MIT license. See the LICENSE file for more info.