LoadingView.h 744 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. 把这个API的接口,写成C的风格,更简单合适。
  3. 类的本质,是为了简化代码。
  4. */
  5. #import <UIKit/UIKit.h>
  6. @interface LoadingView : UIView
  7. /**主要是用于输出啊
  8. */
  9. +(void)showMsg:(NSString*)str;
  10. @end
  11. void ShowMsg(NSString* str);
  12. void showMsgByAlert(UIViewController *vc,NSString *str);//确定弹框提示
  13. void showMsgByAlertWithSureBlock(UIViewController *vc,NSString *str,BlockTypeVo sureBlock);//确定弹框提示2
  14. /**弹窗提示
  15. */
  16. void ShowMsgUnOpen(void); //暂未开放,敬请期待
  17. void showMsgUnconnect(void); //网络未连接
  18. void ShowMsgFailed(void); //请求失败
  19. void ShowMsgSuc(void); //操作成功
  20. void showMsgLoginPls(void); //请登录后操作