A HUD that mimics the iOS one.
Objective-C
Switch branches/tags
Nothing to show
Latest commit ad91ec5 Oct 24, 2016 @y0n3l y0n3l committed on GitHub Update README.md

README.md

LGViewHUD

A HUD that mimics the native one used in iOS (when you press volume up or down on the iPhone for instance) and also provides some more features (some more animations + activity indicator support included.) iOS7 and above only.

License

LGViewHUD is licensed under the WTFPL license. ( http://www.wtfpl.net/ )

Code example:

#import "LGViewHUD.h"
..


#in a UIViewController ....
LGViewHUD* hud = [LGViewHUD defaultHUD];
hud.image=[UIImage imageNamed:@"rounded-checkmark.png"];
hud.topText=@"LGViewHUD";
hud.bottomText=@"you did it !";  

# show it in current view (it will disappear 2 sec later)
[hud showInView:self.view]

#with an activity indicator
hud.activityIndicatorOn=YES;