Skip to content

alobanov/ALHUDManager

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

πŸ’­ Hud manager based on MBProgressHUD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published