Latest 1.1
Homepage https://github.com/yuhuans/YHMBProgressHUD
License MIT
Platforms ios 8.0
Dependencies MBProgressHUD
Authors

基于MBProgrssHUD再次封装

btSimpleRippleButton Screenshot . btSimpleRippleButton Screenshot . btSimpleRippleButton Screenshot

使用说明

   //设置hud成功
    [UIView setHUDSuccThemeColor:[UIColor colorWithRed:39.0/255.0 green:198.0/255.0 blue:144.0/255.0 alpha:1]];
    //设置hud失败
    [UIView setHUDErrorThemeColor:[UIColor colorWithRed:198.0/255.0 green:91.0/255.0 blue:72.0/255.0 alpha:1]];
    //设置hud加载
    [UIView setLoadCustomView:[self loadView]];

自定义加载

    -(HUDCustomView *)loadView{
    HUDCustomView *loadView=[[HUDCustomView alloc]initWithFrame:CGRectMake(0, 0, 120, 80)];
    loadView.backgroundColor=[UIColor clearColor];
    UILabel *label=[[UILabel alloc]initWithFrame:CGRectMake(0, 0, 120, 80)];
    [email protected]"加载中……";
    label.textColor=[UIColor whiteColor];
    label.textAlignment=NSTextAlignmentCenter;
    [loadView addSubview:label];
    return loadView;
}

Latest podspec

{
    "name": "YHMBProgressHUD",
    "version": "1.1",
    "summary": "MBProgressHUD",
    "description": "u57fau4e8eMBProgrssHUDu518du6b21u5c01u88c5",
    "homepage": "https://github.com/yuhuans/YHMBProgressHUD",
    "license": "MIT",
    "authors": {
        "yuhuanwater": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/yuhuans/YHMBProgressHUD.git",
        "tag": "1.1"
    },
    "source_files": "YHMBProgressHUD/YHMBProgressHUD/HUD/*.{h,m}",
    "dependencies": {
        "MBProgressHUD": []
    }
}

Pin It on Pinterest

Share This