Latest 0.3.1
Homepage https://github.com/MoathOthman/MOHUD
License MIT
Platforms ios 8.0, requires ARC
Authors

Coverage Status
Build Status
[CocoaPods]()
[CocoaPods]()
[CocoaPods]()
[CocoaPods]()
codebeat badge

A simple HUD to indicate activity, success, and failure.

Description

MOHUD is a smilpe HUD written in swift using storyboard for its Views.

MOHUD adds continue and cancel buttons the loader HUD optionally.

Demo

Demo Doccou alpha

Installation

MANUAL

Just Drag-drop the MOHUD folder into your project.

CocoaPods

pod 'MOHUD'

How to Use

For Showing the HUD

MOHUD.show()

For dismiss

MOHUD.dismiss()

Show with custom status

MOHUD.show("Processing")

Subtitle

MOHUD.showSubtitle(title: "Connection", subtitle: "Please Wait", period: 3)

Failure

MOHUD.showWithError("Failed :(")

Success

MOHUD.showSuccess("You Made it")

Showing HUD with Cancel buttons

MOHUD.show(periodOfTime: 10, withCancelAndContinue: true)
MOHUD.setBlurStyle(.Dark)
MOHUD.onCancel = {
   debugPrint("User Canceled")
}
MOHUD.onContinoue = {
   debugPrint("User want to contniue without the progress indicator ")
}

license

MIT

Author

Latest podspec

{
    "name": "MOHUD",
    "version": "0.3.1",
    "summary": "A simple HUD to indicate activity, success, and failure.",
    "description": "You can use this Library for as a loading indicator while waiting for response from api, you can mention failure and success as well",
    "homepage": "https://github.com/MoathOthman/MOHUD",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "moath othman": "[email protected]"
    },
    "social_media_url": "http://twitter.com/dark_torch",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/MoathOthman/MOHUD.git",
        "tag": "0.3.1"
    },
    "source_files": "MOHUD/*.swift",
    "resources": [
        "MOHUD/MOHUD.storyboard",
        "MOHUD/MOHUD.xcassets"
    ],
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This