/** 把这个API的接口,写成C的风格,更简单合适。 类的本质,是为了简化代码。 */ #import @interface LoadingView : UIView /**主要是用于输出啊 */ +(void)showMsg:(NSString*)str; @end void ShowMsg(NSString* str); void showMsgByAlert(UIViewController *vc,NSString *str);//确定弹框提示 void showMsgByAlertWithSureBlock(UIViewController *vc,NSString *str,BlockTypeVo sureBlock);//确定弹框提示2 /**弹窗提示 */ void ShowMsgUnOpen(void); //暂未开放,敬请期待 void showMsgUnconnect(void); //网络未连接 void ShowMsgFailed(void); //请求失败 void ShowMsgSuc(void); //操作成功 void showMsgLoginPls(void); //请登录后操作