Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Simply write one line to use HUD. 一行代码实现提示消息。

License

Notifications You must be signed in to change notification settings

hunaocode/WKProgressHUD

Repository files navigation

#WKProgressHUD

Simply write one line to use HUD.

##Effect () () ()

##Usage pod 'WKProgressHUD' and import "WKProgressHUD.h"

()

[WKProgressHUD showInView:self.view withText:@"加载中" animated:YES];

()

[WKProgressHUD showInView:self.view withText:@"" animated:YES];

()

[WKProgressHUD popMessage:@"网络异常" inView:self.view duration:1.5 animated:YES];

###Dismiss:

+ (void)dismissInView:(UIView *)view animated:(BOOL)animated;
+ (void)dismissAll:(BOOL)animated;
- (void)dismiss:(BOOL)animated;

##License WKProgressHUD is released under MIT License.

--

中文说明

一行代码实现提示消息。

最轻巧,使用最简单的HUD。

##效果图 () () ()

##使用方法 pod 'WKProgressHUD'

或下载源码并把"WKProgressHUD"目录拖拽到项目中。

()

[WKProgressHUD showInView:self.view withText:@"加载中" animated:YES];

()

[WKProgressHUD showInView:self.view withText:@"" animated:YES];

()

[WKProgressHUD popMessage:@"网络异常" inView:self.view duration:1.5 animated:YES];

###取消显示:

// 取消view中的HUD
+ (void)dismissInView:(UIView *)view animated:(BOOL)animated;
// 取消所有HUD
+ (void)dismissAll:(BOOL)animated;
// 取消显示
- (void)dismiss:(BOOL)animated;

##许可 WKProgressHUD is released under MIT License.

About

Simply write one line to use HUD. 一行代码实现提示消息。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 95.6%
  • Ruby 4.4%

AltStyle によって変換されたページ (->オリジナル) /