Latest 1.0.5
Homepage https://github.com/andr3a88/ASProgressHud
License MIT
Platforms ios 9.0, requires ARC
Authors

Swift 4.0
Platform
Version
License
Apps
Carthage compatible
BuddyBuild
codebeat badge

Requirements

  • Swift 4.2
  • XCode 10.0
  • iOS >= 8

Installation

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

pod "ASProgressHud"

Changelog

See the changelog file.

Description

ASProgressHud displays a customized loading view. The loader is created with an UIImageView animated with png images.

Screenshot

Usage

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

Default HUD

// Show
ASProgressHud.showHUDAddedTo(self.view, animated: true, type: .default)

// Hide
ASProgressHud.hideHUDForView(self.view, animated: true)

Custom HUD

// Import loader images in png format, with name like loader_custom_00.png, loader_custom_01.png, etc...

// Create HudProperty
HudProperty(prefixName: "loader_custom", frameNumber: 18)

// Show
ASProgressHud.showCustomHUDAddedTo(self.view, animated: true, hudProperty: hudProperty)

// Hide
ASProgressHud.hideHUDForView(self.view, animated: true)

Resources

Author

Andrea, Twitter @andrea_steva

License

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

Latest podspec

{
    "name": "ASProgressHud",
    "version": "1.0.5",
    "summary": "A custom loading view inspired by MBProgressHud",
    "description": "A custom loading view inspired by MBProgressHud.",
    "homepage": "https://github.com/andr3a88/ASProgressHud",
    "license": "MIT",
    "authors": {
        "Andrea": "[email protected]"
    },
    "source": {
        "git": "https://github.com/andr3a88/ASProgressHud.git",
        "tag": "1.0.5"
    },
    "social_media_url": "https://twitter.com/andrea_steva",
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "Resources": [
            "Pod/Assets/**/*.png"
        ]
    }
}

Pin It on Pinterest

Share This