Awesome Open Source
Awesome Open Source

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


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
objective-c (10,925
loader (164
loading-animations (44
hud (30