Skip to content

Latest commit

 

History

History
55 lines (27 loc) · 1.2 KB

README.md

File metadata and controls

55 lines (27 loc) · 1.2 KB

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