Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.42 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.42 KB

YBHud

A progress hud using DGActivityIndicatorView.

Screenshot

Installation

Drag and Drop files (YBHud.h & YBHud.m) from YBHud Directory into your XCode Project Directory. Add DGActivityIndicatorView in your project.

Usage

YBHud *hud = [[YBHud alloc]initWithHudType:DGActivityIndicatorAnimationTypeCookieTerminator]; //Initialization

//Optional Tint Color (Indicator Color)
//hud.tintColor = [UIColor blackColor];

//Optional User Interaction
//hud.UserInteractionDisabled = YES; (User can interact with background views while HUD is displayed)

//Optional HUD Color
//hud.hudColor = [UIColor yellowColor];

//Optional Dim Amount of HUD
//hud.dimAmount = 0.5;

//Display HUD
[hud showInView:self.view animated:YES];

//Dismiss HUD
[hud dismissAnimated:YES];

Requirements

iOS 9.0+

License

MIT License