【文件属性】:
文件名称:ZFYLoadView:一个加载等待的view,支持自定义动画图片,支持空数据,支持加载失败重新加载
文件大小:88KB
文件格式:ZIP
更新时间:2021-05-21 10:39:49
Objective-C
ZFYLoadView
###模拟加载失败,重新加载回调
[ZFYLoading showFailWithstatus:@"加载失败" inView:view event:^(UIButton *button) {
NSLog(@"button ==%@",button);
点击显示正在加载
[ZFYLoading showLoadViewInview:view];
}];
数据加载完成后消失
[self performSelector:@selector(dis) withObject:self afterDelay:4];
//4秒后消失,也就是数据加载完成后执行
-(void)dis
{
[ZFYLoading dismiss];
}
###没有数据
没有数据1
[ZFYLoading showNullWithstatus:@"
【文件预览】:
ZFYLoadView-master
----ZFYLoading()
--------huoying.png(31KB)
--------ZFYLoading.xcodeproj()
--------ZFYLoading()
--------ZFYLoadingTests()
--------ZFYLoad()
----README.md(1KB)