Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

yzcoder/CircleProgressView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

CircleProgressView

环形的进度条,可以自己定制大小、宽度、动画时间、完成比例(0 ~ 1)等属性.


####可以实现如下效果

####或

###使用方法

 /**< 创建进度条视图*/
 YzCircleView *circle = [YzCircleView prograssWithFrame:CGRectMake(100, 100, 200, 200) duration:5];
 /**< 添加到父视图*/
 [self.view addSubview:circle];
 
 /**< 设置可选属性*/
 circle.progressScale = 0.8;
 circle.startAngle = 0;
 circle.endAngle = 270;
 circle.trackLineWidth = 3;
 circle.progressLineWidth = 2;
 circle.trackColor = [UIColor grayColor];
 circle.progressColor = [UIColor orangeColor];

属性详细说明请参见代码

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /