CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

ODMSwipeSelector 1.0.3

ODMSwipeSelector 1.0.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2015

Maintained by Oscar De Moya.




  • By
  • Oscar De Moya

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

From the Interface Builder

To use this control in your views from the interface builder add a UIView and set ODMSwipeSelector as the custom class. Default properties can be set from the Attributes Inspector of the interface builder.

Programatically

Create an instance of ODMSwipeSelector add it to your view and set the values of the properties you want to customize.

ODMSwipeSelector *heightSelector = [[ODMSwipeSelector alloc] initWithFrame:CGRectMake(0, 20, 320, 50)];
heightSelector.backgroundColor = [UIColor whiteColor];
heightSelector.title = @"Height";
heightSelector.unit = ODMMeasureFormatInch;
heightSelector.value = 5.5;
[self.view addSubview:heightSelector];

Requirements

Installation

Author

Oscar De Moya @odm

License

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