PlainPickerView

public final class PlainPickerView : UIView
extension PlainPickerView: UIPickerViewDataSource
extension PlainPickerView: UIPickerViewDelegate

Custom input view for text fields with UIPickerView. Have picker view and top view with custom “return” button. You have to provide ‘data’ in init method for configure dataSource of pickerView. You have to provide linked textField in init method, then string with selected value will set in textField automatically.

Properties

Initialization

  • Method for creating PlainPickerView with specific size, linked textField and custom data

    Declaration

    Swift

    static public func view(size: CGSize,
                            textField: PickerTextField,
                            data: [String]) -> PlainPickerView

UIPickerViewDataSource

UIPickerViewDelegate