/HUD

an iOS HUD implemented in Swift

Primary LanguageSwift

HUD

an iOS HUD implemented in Swift as an iOS8 Framework

Loading

How to install

I. Download the zip archive of this project or add it as a git submodule. In Terminal, navigate to your project folder and type:

git submodule add git@github.com:Hello24/HUD.git Modules/HUD

II. Add the framework to your project by dragging HUD.xcodeproj into your project:

Install

III. Amend your target build phases to link to the HUD framework.

Install

IV. Import the module where required:

import HUD

Usage

H24HUD.showLoading("Loading...")

H24HUD.showSuccess("Projects loaded successfully.")

H24HUD.showFailure("Something went wrong. Please try again!")

H24HUD.hide()

Loading Success Error