Skip to content

Base in MBProgressHUD Package Easy use(超好用的MBProgrssHUD,简单实用)

License

Notifications You must be signed in to change notification settings

sauchye/SYHUDView

Repository files navigation

About SYHUDView

intro gif

+ (void)showSuccessText:(NSString *)text;

+ (void)showFailureText:(NSString *)text;

+ (void)showInfoText:(NSString *)text;

+ (void)showLoadingWindowText:(NSString *)text;

+ (void)hide;

+ (SYProgressHUD *)showToLoadingView:(UIView *)view;

+ (SYProgressHUD *)showToCenterText:(NSString *)text;

+ (SYProgressHUD *)showToBottomText:(NSString *)text;

+ (SYProgressHUD *)showToCustomImage:(UIImage *)image
                                text:(NSString *)text;

+ (void)showStatusBarNotificationText:(NSString *)text;

+ (void)showNavigationBarNotificationText:(NSString *)text;

Example, easy use:

    [SYProgressHUD showSuccessText:@"success"];

    [SYProgressHUD showLoadingWindowText:@"LoadingWindow"];

    [SYProgressHUD showToCenterText:@"CenterText"];
    [SYProgressHUD showToBottomText:@"BottomText"];

    [SYProgressHUD showToCustomImage:[UIImage imageNamed:@"nav_back_icon"] text:@"customImage"];

Libraries

MBProgressHUD

CWStatusBarNotification

About

Base in MBProgressHUD Package Easy use(超好用的MBProgrssHUD,简单实用)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published