• Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created almost 11 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Custom circular UIView that allow set progress similar to AppStore control.

MRCircularProgressView

Custom circular UIView that allow set progress similar to AppStore control.

API Reference

  • Custom animation duration.
  • Custom color.
  • Custom progress width.

Please refer to the header file [MRCircularProgressView.h] for a complete overview of the capabilities of the class.

## Installation

Copy files MRCircularProgressView.h and MRCircularProgressView.m from folder /MRCircularProgressView/MRCircularProgressView/ into your project.

Usage

Create MRCircularProgressView as any other UIView item.

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    MRCircularProgressView *circularProgressView = [[MRCircularProgressView alloc] initWithFrame:self.view.frame];
    [circularProgressView setBackgroundColor:[UIColor whiteColor]];
    [circularProgressView setProgress:1.0f animated:YES];
    
    [self.view addSubview:circularProgressView];
}

Requirements

  • iOS >= 7.0
  • ARC

License

MRCircularProgressView is available under the MIT license. See the LICENSE file for more info.