Installation
Drag theProgressHUD/ProgressHUD
folder into your project.Requirements
- Xcode 5
- iOS 7
- ARC
Displaying the HUD
+ (void)show:(NSString *)status;
+ (void)showSuccess:(NSString *)status;
+ (void)showError:(NSString *)status;
showSuccess
and showError
will automatically dismiss the HUD.Dismissing the HUD
+ (void)dismiss;
Usage
1., Add the following import to the top of the file:#import "ProgressHUD.h"
[ProgressHUD show:@"Please wait..."];
[ProgressHUD dismiss];
Color shemes
Usesheme_white
or sheme_black
depending on your needs. However feel free to customize the color settings in ProgressHUD.h
file.Download: https://github.com/relatedcode/ProgressHUD/archive/master.zip