An iOS7 style circular progress view with a stop button.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits behind lipka:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
LLACircularProgressView.xcodeproj
LLACircularProgressView
Tests
.gitignore
LICENSE
LLACircularProgressView.podspec
README.md

README.md

LLACircularProgressView

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
  • iOS6 an 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.