Latest 1.0.1
License MIT
Platforms ios 8.0

LPProgressHUD is a Swift version of the HUD that mimics MBProgressHUD.


  • iOS 8.0+
  • Xcode 8.1+
  • Swift 3.0+



CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate LPProgressHUD into your Xcode project using CocoaPods, specify it in your Podfile:

source ''
platform :ios, '8.0'

target '<Your Target Name>'  do
    pod 'LPProgressHUD', '~> 1.0.1’

Then, run the following command:

$ pod install


Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate LPProgressHUD into your Xcode project using Carthage, specify it in your Cartfile:

github "leo-lp/LPProgressHUD"

Run carthage update to build the framework and drag the built LPProgressHUD.framework into your Xcode project.


If you prefer not to use either of the aforementioned dependency managers, you can integrate LPProgressHUD into your project manually.


Use MBProgressHUD to set up on the main thread and then switch the task to be performed to the new thread.

let hud = view, animated: true) {
    // Do something...
    DispatchQueue.main.sync {
        hud.hide(animated: true)

For more examples, including how to use LPProgressHUD with asynchronous operations, take a look at the bundled Example project.


This code is distributed under the terms and conditions of the MIT license.

Latest podspec

    "name": "LPProgressHUD",
    "version": "1.0.1",
    "summary": "LPProgressHUD is a Swift version of the HUD that mimics MBProgressHUD.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "leo-lp": "[email protected]"
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "1.0.1"
    "source_files": "LPProgressHUD/Sources/*.swift",
    "pushed_with_swift_version": "3.0"

Pin It on Pinterest

Share This