Latest 0.1.9
Homepage https://github.com/vaithwee/VWProgressHUD
License MIT
Platforms ios 7.0
Frameworks UIKit, Foundation
Authors

CI Status
Version
License
Platform

Star

If you like this, give me a star!

Screenshots

enter image description here

Use

If you want to close keyborad when hud show, add config to appdelegate

[VWProgressHUD configure];

Easy to use

[[VWProgressHUD shareInstance] showLoading];
[[VWProgressHUD shareInstance] showLoadingWithTip:@"Hello World"];
[[VWProgressHUD shareInstance] showDoneMsg:@"Hello, This's done msg"];

Config

If you need change style, you just need edit config

NSInteger const kVWDminantColor = 0x000000;//主色调
NSInteger const kVWLoadingColor = 0xffffff;//loading颜色
NSInteger const kVWTextColor = 0xffffff;//文字颜色
NSInteger const kVWImageColor = 0xffffff;//图片颜色

CGFloat const kVWDefaultAlpha = 0.95f;//透明度
CGFloat const kVWPadding = 10.f;//分割宽度
CGFloat const kVWMaxTextWidth = 150.f;//最大文字宽度
CGFloat const kVWDefaultTipFontSize = 15.f;//主标题字体大小
CGFloat const kVWDefaultSubFontSize = 12.f;//副标题字体大小
CGFloat const kVWLoadingDelayTime = 10.f;//loading延迟时间
CGFloat const kVWContentMinWidth = 80.f;//最小内容宽度
CGFloat const kVWContentMaxWidth = 150.f;//最大内容宽度
CGFloat const kVWMessageDelayTime = 3.f;//Message存在时间
CGFloat const kVWDefaultAnimationTime = 0.25f;//动画时间

BOOL const isShowkVWDefaultLoadingTip = NO;//是否显示默认loading文字

NSString const * kVWDefaultLoadingTip = @"Loading...";//默认loading文字
NSString const *kVWDismissNotification = @"kVWDismissNotification";

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

VWProgressHUD is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "VWProgressHUD"

Author

Vaith, [email protected]

License

VWProgressHUD is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "VWProgressHUD",
    "version": "0.1.9",
    "summary": "A easy hud to use, just one code",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/vaithwee/VWProgressHUD",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Vaith": "[email protected]"
    },
    "source": {
        "git": "https://github.com/vaithwee/VWProgressHUD.git",
        "tag": "0.1.9"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "VWProgressHUD/Classes/**/*",
    "resources": "VWProgressHUD/Assets/*.bundle",
    "frameworks": [
        "UIKit",
        "Foundation"
    ]
}

Pin It on Pinterest

Share This