WSSProgressHUD 0.0.4

WSSProgressHUD 0.0.4

wangSmile 维护。



  • wangsi

WSSProgressHUD

CI Status Version License Platform

安装

WSSProgressHUD 可通过 CocoaPods 获取。要安装,只需将以下行添加到您的 Podfile 中

pod 'WSSProgressHUD'

示例

/** 显示提示(1.5秒后消失 默认黑底白字) */
+ (void)showMessage:(NSString *)msg inView:(UIView *)view;
/** 显示提示(N秒后消失 默认黑底白字) */
+ (void)showMessage:(NSString *)msg inView:(UIView *)view delayTime:(NSTimeInterval)delay;
/** window显示(1.5秒后消失 默认黑底白字)*/
+ (void)showMessageWithInWindow:(NSString *)msg;
/** window显示(N秒后消失 默认黑底白字)*/
+ (void)showMessageWithInWindow:(NSString *)msg delayTime:(NSTimeInterval)delay;
/** 显示进度(菊花 默认黑底白字) */
+ (void)showProgressLoading:(NSString *)msg inView:(UIView *)view;
/** 显示图片 默认黑底白字 */
+ (void)showCustomImageWithMessage:(NSString *)msg customImage:(UIImage *)customImg inview:(UIView *)view;
/** 显示自定义动画 默认黑底白字 */
+ (void)showCustomAnimationWithMessage:(NSString *)msg withImgArry:(NSArray<UIImage *> *)imgArry inview:(UIView *)view;
/** 显示提示(1.5秒后消失) */
+ (void)showMessage:(NSString *)msg inView:(UIView *)view style:(WSSProgressHUDStyle)style;
/** 显示提示(N秒后消失) */
+ (void)showMessage:(NSString *)msg inView:(UIView *)view delayTime:(NSTimeInterval)delay style:(WSSProgressHUDStyle)style;
/** window显示(1.5秒后消失)*/
+ (void)showMessageWithInWindow:(NSString *)msg style:(WSSProgressHUDStyle)style;
/** window显示(N秒后消失)*/
+ (void)showMessageWithInWindow:(NSString *)msg delayTime:(NSTimeInterval)delay style:(WSSProgressHUDStyle)style;
/** 显示进度(菊花) */
+ (void)showProgressLoading:(NSString *)msg inView:(UIView *)view style:(WSSProgressHUDStyle)style;
/** 显示图片 */
+ (void)showCustomImageWithMessage:(NSString *)msg customImage:(UIImage *)customImg inview:(UIView *)view style:(WSSProgressHUDStyle)style;
/** 显示自定义动画 */
+ (void)showCustomAnimationWithMessage:(NSString *)msg withImgArry:(NSArray<UIImage *> *)imgArry inview:(UIView *)view style:(WSSProgressHUDStyle)style;
/** 隐藏 */
+ (void)hideHUDWithView:(UIView *)view;
/** 隐藏 Window*/
+ (void)hideHUDWithWindow;

作者

wangsi,[email protected]

许可

WSSProgressHUD 在 MIT 许可下可用。请参阅 LICENSE 文件以获取更多信息。