Latest | 0.0.2 |
---|---|
Homepage | https://github.com/hammerheadnav/hhstepper |
License | MIT |
Platforms | ios 5.0 |
Authors |
hhstepper
A simple stepper UI control for iOS
Usage
CGRect rect = CGRectMake(20, 20, self.view.frame.size.width - 40, 100);
NSArray *labels = @[@"one",@"two",@"three",@"four",@"five"];
HHStepper *stepper = [[HHStepper alloc] initWithFrame:rect labels:labels];
[stepper setDelegate:self];
[self.view addSubview:stepper];
HHStepperDelegate
- (void)didSelectStepWithLabel:(NSString *)label atIndex:(NSUInteger)index {
NSLog(@"Selected %@ at Index %d", label, index);
}
Latest podspec
{ "name": "HHStepper", "version": "0.0.2", "summary": "A simple stepper UI control for iOS", "description": " A longer description of HHStepper in Markdown format.nn * Think: Why did you write this? What is the focus? What does it do?n * CocoaPods will be using this to generate tags, and improve search results.n * Try to keep it short, snappy and to the point.n * Finally, don't worry about the indent, CocoaPods strips it!n", "homepage": "https://github.com/hammerheadnav/hhstepper", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Deva": "[email protected]" }, "social_media_url": "http://twitter.com/dvrajan12", "platforms": { "ios": "5.0" }, "source": { "git": "https://github.com/hammerheadnav/hhstepper.git", "tag": "0.0.2" }, "source_files": "HHStepper/**/*.{h,m}" }
Sun, 28 Feb 2016 03:31:03 +0000