Latest 1.1
Homepage https://github.com/WelkinXie/WKProgressHUD
License MIT
Platforms ios 7.0, requires ARC
Authors

Simply write one line to use HUD.

Effect

()
()
()

Usage

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。

效果图

()
()
()

使用方法

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];

取消显示:

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

许可

WKProgressHUD is released under MIT License.

Latest podspec

{
    "name": "WKProgressHUD",
    "version": "1.1",
    "summary": "u4e00u884cu4ee3u7801u5b9eu73b0u63d0u793au6d88u606fu3002u6700u8f7bu5de7uff0cu4f7fu7528u6700u7b80u5355u7684HUDu3002",
    "homepage": "https://github.com/WelkinXie/WKProgressHUD",
    "license": "MIT",
    "authors": {
        "Welkin Xie": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/WelkinXie/WKProgressHUD.git",
        "tag": "1.1"
    },
    "source_files": "WKProgressHUD/WKProgressHUD/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This