Skip to content

alobanov/ALHUDManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALHUDManager

Hud manager based on MBProgressHUD

Usage

// create hud item
HUDItem *item = [HUDItem itemWithTitle:@"Title" andDetail:@"Test"];
item.hideDelay = 2.0;
item.imageType = HUDImage_SadFace;
item.dimBackground = YES;
item.mode = ProgressHUDModeText;

// just show
[ALHUDManager showHUD:item];

// for manually hide
[ALHUDManager hideHud];

Set custom image

HUDItem *item = [HUDItem itemWithTitle:@"Nice heart" andDetail:@"Smile bitch!"];
item.hudCustomImagePath = @"hudTest.png";
item.hideDelay = 7.0;
[ALHUDManager showHUD:item];

instance methods

- (void) setProgress:(float) value;
- (void) setDetailText:(NSString *) text;
- (void) updateHudView:(UIView *) hudView;
- (void) showAlwaysOnTop;

Contact

Lobanov

Releases

No releases published

Packages

No packages published