MCCircularProgressView 1.0.6

MCCircularProgressView 1.0.6

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

Maintained by Unclaimed.


Downloads

Total6
Week0
Month0

Installs

Apps3
powered by Segment

GitHub

Stars14
Watchers1
Forks0
Issues0
Contributors1
Pull Requests0

Code

Files2
LOCLines of Code 115


  • 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