YBHud Save

A simple Hud with DGActivityIndicatorView

Project README

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

Open Source Agenda is not affiliated with "YBHud" Project. README Source: YahyaBagia/YBHud
Stars
81
Open Issues
0
Last Commit
5 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating