Skip to content

这个一个可以完全取代MBProgressHUD的 加载提示控件及展示message提示语,支持多种样式,自定义化,

License

Notifications You must be signed in to change notification settings

s-ITBoy/SStipsAndHUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SStipsAndHUD

Installation

Installation with CocoaPods

when you will use the all Categories:

pod 'SStipsAndHUD'

Usage

import the header file into any class where you wish to make use of the functionality such as

#import <NSObject+HUD.h>

当您不使用cocoapod导入时,也可以直接下载代码导入到您的项目中,只需要将SStipsAndHUD文件夹及其中的内容导入到您的项目中即可,下载的代码中有关于SStipsAndHUD的使用教程demo

NSObject+HUD.h文件中 有公开的方法如下:

@interface NSObject (HUD)

#pragma mark --------- SSshowMsg -------------

///msg:提示语

  • (void)SSshowMsg:(NSString*_Nullable)msg;

///msg:提示语;block:提示语结束后的回调

  • (void)SSshowMsg:(NSString*_Nullable)msg FinishBlock:(void (^)(void))block;

///msg:提示语;delay:延迟时间;block:提示语结束后的回调

  • (void)SSshowMsg:(NSString*_Nullable)msg delay:(CGFloat)delay FinishBlock:(void (^)(void))block;

#pragma mark --------- SSshowHUD -------------

  • (void)SSshowLoadingHUD;///此方法 默认显示菊花

  • (void)SSshowLoadingHUD:(SSloadingModel)model;

  • (void)SSdismiss;

  • (void)SSdismissAll;

@end

About

这个一个可以完全取代MBProgressHUD的 加载提示控件及展示message提示语,支持多种样式,自定义化,

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published