|ReleasedLast Release||Dec 2014|
Maintained by Unclaimed.
MHRadialProgressView is an iOS drop-in class radial animated progress view.
MHRadialProgressView works on iOS 6 and above and is compatible with ARC projects. It depends on the following Apple frameworks:
You can directly add the
MHRadialProgressView.m source files to your project.
MHRadialProgressView.monto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
Initialize the view with steps that define a particular operation complete.
self.progressView = [[MHRadialProgressView alloc] initWithFrame:CGRectMake(0, 0, 150, 150) points:@[@5, @10, @2, @9]];
Add it as subview:
Make progress by calling the following method:
By default, the progress view displays % value. However you can override the style by calling the following method:
// Default is MHProgressStylePercentage. Sets the progress style - (void)setProgressStyle:(MHProgressStyle)style;
It is also possible to format the label that displays the progress value using the folloiwng method:
For unordered progres (often by steps associated wtih user action), you can increase the progress by value:
- (void) moveNext:(NSNumber*)value;
This code is distributed under the terms and conditions of the MIT license.