1.设计第三方框架
1.设计对外接口
- (IBAction)success {
[DXStatusBarHUD showSuccess:@"加载数据成功!"];
}
- (IBAction)error {
[DXStatusBarHUD showError:@"登录失败!"];
}
- (IBAction)loading {
[DXStatusBarHUD showLoading:@"正在登录中..."];
}
//隐藏状态栏
- (IBAction)hide {
[DXStatusBarHUD hide];
}
- (IBAction)normal {
[DXStatusBarHUD showText:@"随便显示的文字!!!!"];
}