https://github.com/pardel/hud
an iOS HUD implemented in Swift
https://github.com/pardel/hud
Last synced: about 1 year ago
JSON representation
an iOS HUD implemented in Swift
- Host: GitHub
- URL: https://github.com/pardel/hud
- Owner: pardel
- Created: 2015-02-07T20:56:35.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-21T15:18:10.000Z (over 11 years ago)
- Last Synced: 2025-02-10T10:15:21.612Z (over 1 year ago)
- Language: Swift
- Size: 973 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HUD
an iOS HUD implemented in Swift as an iOS8 Framework

## 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:

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

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()
```


