TTCircularLoadingView

作者: 7d3fadbb4407 | 来源:发表于2018-03-05 09:09 被阅读6次

1.TTCircularLoadingView

A circular loading view, can set up success or fail state.
一个圆形的加载view,可以设置成功或失败的状态。

Wide and high optional Settings, circular loading view will automatically match.
宽高随意设置,圆形加载view会自动适配。

2.GIF视图

loadingView.gif

3.使用

(1)代码使用:

CGRect yourRect;
TTLoadingView *loadingView = [[TTLoadingView alloc] initWithFrame:yourRect];
[self.view addSubview:loadingView];
[loadingView startLoading];

(2)Xib使用:

拉个系统View,将该View的class配置成TTLoadingView即可。

下载地址:

https://github.com/xushixun16/TTCircularLoadingView

相关文章

网友评论

    本文标题:TTCircularLoadingView

    本文链接:https://www.haomeiwen.com/subject/icpcfftx.html