Skip to content

lovels/LBCircleView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

LBCircleView

效果

image

用法

    LBCircleView *circleView = [[LBCircleView alloc] initWithFrame:CGRectMake(0, 0, 250, 250)];
    circleView.center = self.view.center;
    circleView.backgroundColor = [UIColor colorWithRed:255.0/255 green:157.0/255 blue:182.0/255 alpha:1.0];
    [self.view addSubview:circleView];
    circleView.percentColor = [UIColor colorWithRed:76.0/255 green:15.0/255 blue:77.0/255 alpha:1.0];
    [circleView setProgress:0.5 animated:YES];