An iOS7 style circular progress view with a stop button.
Objective-C Ruby
Switch branches/tags
Nothing to show
Latest commit e1a0b92 Aug 8, 2014 @lipka Update requirements.

README.md

LLACircularProgressView

Build Status Version Platform

LLACircularProgressView is a deligthful iOS7 style circular progress view with a stop button.

  • Animated progress display
  • Stop button
  • Respects iOS7 interface tint color
  • Automatically dims the tint color when an alert view or an action sheet is presented
  • iOS7 compatible

Example

Screenshot

Open up the included Xcode project for an example app.

Usage

// Initialize the progress view
LLACircularProgressView *circularProgressView = [[LLACircularProgressView alloc] init];

// Optionally set the current progress
circularProgressView.progress = 0.5f;

// Optionally change the tint color
circulerProgressView.tintColor = [UIColor redColor];

// Optionally hook up the stop action
[circularProgressView addTarget:self action:@selector(stop:) forControlEvents:UIControlEventTouchUpInside];

// Add it as a subview
[self.view addSubview:circularProgressView];

...

// Animate progress changes
[circularProgressView setProgress:0.8f animated:YES];

See the header for full documentation.

Installation

CocoaPods is the recommended method of installing LLACircularProgressView. Simply add the following line to your Podfile:

Podfile

pod 'LLACircularProgressView'

Otherwise you can just add LLACircularProgressView.h and LLACircularProgressView.m to your project.

Requirements

LLACircularProgressView is tested on iOS6 and iOS7 and requires ARC.

Contact

Lukas Lipka

License

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