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.
-
Undocumented
Declaration
Swift
public let picker: UIPickerView
-
Undocumented
Declaration
Swift
public var topViewConfiguration: PickerTopViewConfiguration { get set }
-
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
-
Undocumented
Declaration
Swift
public func numberOfComponents(in pickerView: UIPickerView) -> Int
-
Undocumented
Declaration
Swift
public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int
-
Undocumented
Declaration
Swift
public func pickerView(_ pickerView: UIPickerView, rowHeightForComponent component: Int) -> CGFloat
-
Undocumented
Declaration
Swift
public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String?
-
Undocumented
Declaration
Swift
public func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int)