MCCircularProgressView 1.0.6

MCCircularProgressView 1.0.6

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



  • By
  • Chris Rittersdorf

A scalable progress view that fits in a tiny amount of space.

Installation

CocoaPods

pod 'MCCircularProgressView', '~> 1.0.4'

How to use

Interface Builder

Within Interface Builder, set a UIView's custom class to "MCCircularProgressView". The indicator will automatically scale to the size of the smallest dimension of the UIView.

Programmatically

Include the class:

#include <MCCircularProgressView.h>

Initialization

Initialize MCCircularProgressView and add it to the subView like you would any UIView:

MCCircularProgressView *progressView = [[MCCircularProgressView alloc] initWithFrame:CGRectMake(0, 0, 20, 20)];
[self.view addSubview:progressView];

Customization

You can change the color of the indicator by specifying the circleColor property:

progressView.circleColor = [UIColor redColor];

Screenshots

MCCircularProgressView with some progress MCCircularProgressView with more progress MCCircularProgressView with even more progress