This component easily creates the entire interface and interaction of a UIPickerView in iOS applications.
You can create 2 types of components:
- SLNumbersPickerView: component with numerical options.
- SLTextPickerView: component with text options.
- Add to your project the files SLPickerView.{h,m}
- You need initialice the picker with a simple method like.
[SLPickerView showNumericalPickerViewWithMaxValue:20
withMinValue:3
withPreSelected:[self.numberButton.currentTitle intValue]
completionBlock:^(int selectedValue) {
//TODO: Callback
}];
- Create podspec. Version 1.0.0
- Create method to set frame.
- Create method to set position in fullscreen.
- Bottom
- Top
- Center
- Create callbacks in order to set the custom view for all rows on pickerView.
- Create new version 1.1.0
- Properties to personalizate the screen.