簡化MBProgressHUD的使用方式

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

#import "MBProgressHUDManager.h"

@property (nonatomic, strong) MBProgressHUDManager *HUDManager;

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.HUDManager = [[MBProgressHUDManager alloc] initWithView:self.navigationController.view];
    [self.HUDManager showIndeterminateWithMessage:@"With a block" duration:2 complection:^{

    }];
}