@property(strong,nonatomic)PZXCircleView *circleProgressView;
@property(strong,nonatomic)PZXSharpCircleView *pzxsharpCircleView;
-(void)initPZXSharpCircle{
self.pzxsharpCircleView = [[PZXSharpCircleView alloc]initWithFrame:CGRectMake(150, 200, 200, 200)];
self.pzxsharpCircleView.pzx_progress = 0.0;
self.pzxsharpCircleView.backgroundColor = [UIColor clearColor];
[self.view addSubview:self.pzxsharpCircleView];
}
-(void)initPZXCircle{
self.circleProgressView = [[PZXCircleView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)];
self.circleProgressView.progress = 0.0;
self.circleProgressView.backgroundColor = [UIColor clearColor];
[self.view addSubview:self.circleProgressView];
}
- (void)changeProgress:(UISlider *)slider {
self.circleProgressView.progress = slider.value;
self.pzxsharpCircleView.pzx_progress = slider.value;
// [self.circleProgressView setNeedsDisplay];
}
-
Notifications
You must be signed in to change notification settings - Fork 0
PZXforXcode/PZXCircleView
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
圆环进度条,渐变圆环进度条
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published