// // MBProgressHUD+YanC.h // BorrowMoney // // Created by chengzhang Yan on 2016/10/13. // Copyright © 2016年 JuYi. All rights reserved. // #import "MBProgressHUD.h" @interface MBProgressHUD (YanC) /** 显示成功 */ + (void)showSuccess:(NSString *)success; /** 显示失败 */ + (void)showError:(NSString *)error; /** 显示提示符号 */ + (void)showInfo:(NSString *)info; /** 显示信息+转圈圈 */ + (void)showMessage:(NSString *)message; /** 显示图片 */ + (void)showLogoImageWithImageName:(NSString *)imgName; /** 只显示一条提示信息 */ + (void)showOnlyText:(NSString *)message; /** 显示成功--->到指定view */ + (void)showSuccess:(NSString *)success toView:(UIView *)view; /** 显示失败--->到指定view */ + (void)showError:(NSString *)error toView:(UIView *)view; /** 显示提示符号--->到指定view */ + (void)showInfo:(NSString *)info toView:(UIView *)view; /** 显示信息(转圈圈)--->到指定view */ + (void)showMessage:(NSString *)message toView:(UIView *)view; /** 显示图片 --->到指定view */ + (void)showLogoImageWithImageName:(NSString *)imgName toView:(UIView *)view; /** 只显示一条提示信息--->到指定view */ + (void)showOnlyText:(NSString *)message toView:(UIView *)view; /** 隐藏HUD */ + (void)hideHUD; /** 隐藏--->指定view上的HUD */ + (void)hideHUDForView:(UIView *)view; /** 只显示一条提示信息带确定按钮 */ //新需求 + (void)showOnlyText:(NSString *)message controller:(UIViewController *)controller; @end