MBProgressHUD,SVProgressHUD提示框架封装,集成方便,调用简单。
Branch: master
Clone or download
wenmobo
wenmobo no message
Latest commit 81df019 Sep 16, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Pods 移动文件 Aug 31, 2018
WBHUDManager.xcodeproj update example demo. Sep 3, 2018
WBHUDManager.xcworkspace 移动文件 Aug 31, 2018
WBHUDManager edit header files. Sep 5, 2018
WBHUDManagerExample update example demo. Sep 3, 2018
WBHUDManagerTests 移动文件 Aug 31, 2018
WBHUDManagerUITests 移动文件 Aug 31, 2018
.gitignore Initial commit Feb 2, 2018
LICENSE aa Aug 31, 2018
Podfile 移动文件 Aug 31, 2018
Podfile.lock 移动文件 Aug 31, 2018
README.md no message Sep 16, 2018
WBHUDManager.podspec 修改podspec版本号 Sep 3, 2018

README.md

WBHUDManager

中文说明

MBProgressHUD、SVProgressHUD提示框架实用封装。

Requirements

  • iOS 8+
  • Xcode 8+

安装

target 'WBHUDManager' do

use_frameworks!
pod 'WBHUDManager'

end

只安装子组件

target 'WBHUDManager' do

use_frameworks!
pod 'WBHUDManager/MBProgressHUDWBAddtional'

end

Usage

MBProgressHUD

  • 显示菊花
//只显示菊花
[MBProgressHUD wb_showActivity:self.view];

//菊花带有文字
[MBProgressHUD wb_showActivityMessage:@"加载中..."
                               toView:self.view];
  • 成功提示
//成功提示
[MBProgressHUD wb_showSuccess:@"登录成功"
                       toView:self.view
                   completion:nil];

SVProgressHUD

  • 文字提示
//文字提示
[SVProgressHUD wb_showTextWithStatus:@"信息提示"
                          completion:^{
    NSLog(@"完成回调");
}];

更多用法,请看下载demo查看。

Author

author:wenbo
email:wenmobo2018@gmail.com
掘金:https://juejin.im/user/5a371ae551882512d0607108
简书:https://www.jianshu.com/u/63445e24e8bf

License

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