地址: https://github.com/Jinxiansen/JHUDJHUD 是一个用于加载数据时全屏显示的HUD,论文,使用Objective-C编写.须知
JHUD 基于 'Xcode 7.3 , iOS 6+ 和ARC ,请使用最新正式版来编译JHUD,旧版本的Xcode可能有效,但不保证会出现一些兼容性问题。
CocoaPods推荐使用 CocoaPods 安装。
在 Podfile 中添加 pod 'JHUD'。
执行 pod install 或 pod update。
导入 'JHUD.h'。
手动安装
通过 Clone or download 下载 JHUD 文件夹内的所有内容。
将 JHUD 内的源文件添加(拖放)到你的工程。
导入 JHUD.h 。
使用hudView = [[JHUD alloc]initWithFrame:self.view.bounds];hudView.messageLabel.text = @'hello ,this is a circle animation';//show[hudView showAtView:self.view hudType:JHUDLoadingTypeCircle];//hide [hudView hide];
Class method :
[JHUD showAtView:self.view message'Hello, this is a message'];[JHUD hide];For more examples, including how to use JHUD , take a look at the bundled demo project. API documentation is provided in the header file (JHUD.h).
,开题报告