动画进度显示
用法
// Initialize the progress view
LLACircularProgressView *circularProgressView = [[LLACircularProgressView alloc] init];
// Optionally set the current progress
circularProgressView.progress = 0.5f;
// Optionally change the tint color
circulerProgressView.tintColor = [UIColor redColor];
// Optionally hook up the stop action
[circularProgressView addTarget:self action:@selector(stop:) forControlEvents:UIControlEventTouchUpInside];
// Add it as a subview
[self.view addSubview:circularProgressView];
...
// Animate progress changes
[circularProgressView setProgress:0.8f animated:YES];
安装
Podfile
中Podfile
LLACircularProgressView.h
和 LLACircularProgressView.m
添加到项目中。pod 'LLACircularProgressView'
需求
联系
lipka/LLACircularProgressViewGitHub 仓库
CocoaPods 是由以下团队开发的项目: