一个简单的数据加载框,可用来在数据加载中使用,也可以做静态显示,颜色等可自己调用,后续会加一个比较炫的加载动画。

//设置四个渐变区域的颜色
@property(nonatomic ,strong)NSArray * colors;
//中间显示数据,可自己改变
@property(nonatomic ,strong)UILabel * progressLabel;
//赋值进度
@property(nonatomic, assign)float progressValue;
需要的可以参考一下,https://github.com/rainhand/-.git
网友评论