blob: 8e0fbe1b3c226375b8116d1ebf78aed4d868078b [file] [log] [blame]
{
"name": "MHRadialProgressView",
"version": "0.2",
"summary": "iOS 7 radial progress view.",
"description": "\t\t MHRadialProgressView is an iOS drop-in class radial animated progress view.\n\n\t\t [![](https://raw.githubusercontent.com/mehfuzh/MHRadialProgressView/master/ScreenShots/demo.png)](https://raw.githubusercontent.com/mehfuzh/MHRadialProgressView/master/ScreenShots/demo.png)\n\t\t _(by placeit)_\n\n\t\t ##Requirements\n\t\t MHRadialProgressView works on iOS 6 and above and is compatible with ARC projects. It depends on the following Apple frameworks:\n\n\t\t * Foundation.framework\n\t\t * UIKit.framework\n\n\t\t ##Including MHRadialProgressView to your project\n\n\t\t ### Source files\n\n\t\t You can directly add the `MHRadialProgressView.h` and `MHRadialProgressView.m` source files to your project.\n\n\t\t 1. Download the latest zip from github or clone the source in your desired directory.\n\t\t 2. Open your project in Xcode, then drag and drop `MHRadialProgressView.h` and `MHRadialProgressView.m` onto 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. \n\t\t 3. Include MHRadialProgressView with `#import \"MHRadialProgressView.h\"`.\n\n\n\t\t ### Cocoapods\n\t\t [CocoaPods](http://cocoapods.org) is the recommended way to add MHRadialProgressView to your project.\n\n\t\t 1. Add a pod entry for MHRadialProgressView to your Podfile `pod 'MHRadialProgressView', '~> 0.1'`\n\t\t 2. Install the pod(s) by running `pod install`.\n\t\t 3. Include MHTextField with `#import \"MHRadialProgressView.h\"`\n\n\n\t\t ## Usage \n\t\t 1. Initialize the view with steps that define a particular operation complete.\n\n\t\t \t\tself.progressView = [[MHRadialProgressView alloc] \tinitWithFrame:CGRectMake(0, 0, 150, 150) points:@[@5, @10, @2, @9]];\n\n\t\t 2. Add it as subview:\n\n\t\t \t\t[self.view addSubview:self.progressView];\n\n\t\t 3. Make progress by calling the following method:\n\n\t\t \t\t[self.progressView moveNext];\n\n\t\t By default, the progress view displays % value. However you can override the style by calling the following method:\n\n\t\t \t// Default is MHProgressStylePercentage. Sets the progress style\n\t\t \t- (void)setProgressStyle:(MHProgressStyle)style;\n\n\t\t It is also possible to format the label that displays the progress value using the folloiwng method:\n\n\t\t \t- (void)setLabelWithFormat:(NSString*)format;\n\n\t\t For unordered progres (often by steps associated wtih user action), you can increase the progress by value:\n\n\t\t \t- (void) moveNext:(NSNumber*)value;\n\n\t\t ## License\n\n\t\t This code is distributed under the terms and conditions of the [MIT license](LICENSE).\n",
"homepage": "https://github.com/mehfuzh/MHRadialProgressView",
"screenshots": "https://raw.githubusercontent.com/mehfuzh/MHRadialProgressView/master/ScreenShots/placeit.png",
"license": "MIT",
"authors": {
"Mehfuz Hossain": "mehfuz@gmail.com"
},
"platforms": {
"ios": "5.0"
},
"source": {
"git": "https://github.com/mehfuzh/MHRadialProgressView.git",
"tag": "0.2"
},
"source_files": "MHRadialProgressView/Classes/MHRadialProgressView.{h,m}",
"requires_arc": true
}