PickerView
class PickerView : UIPickerView
extension PickerView: UIPickerViewDataSource
extension PickerView: UIPickerViewDelegate
Undocumented
-
Undocumented
Declaration
Swift
var pickerData: [String]! -
Undocumented
Declaration
Swift
var pickerTextField: UITextField! -
Undocumented
Declaration
Swift
var onSelect: onSelectCallback? -
Undocumented
Declaration
Swift
init(pickerData: [String], dropdownField: UITextField) -
Undocumented
Declaration
Swift
init(pickerData: [String], dropdownField: UITextField, onSelect: @escaping onSelectCallback) -
Undocumented
Declaration
Swift
required init?(coder _: NSCoder) -
Provides the number of components (or “columns”) in picker view
Declaration
Swift
func numberOfComponents(in _: UIPickerView) -> IntParameters
pickerViewthe view requesting the data
Return Value
the number of components (or “columns”) that the picker view should display
-
Provides the number of rows for a specified component
Declaration
Swift
func pickerView(_: UIPickerView, numberOfRowsInComponent _: Int) -> IntParameters
pickerViewthe view requesting the data
numberOfRowsInComponentReturn Value
The number of rows for the component
-
Undocumented
Declaration
Swift
func pickerView(_: UIPickerView, titleForRow row: Int, forComponent _: Int) -> String? -
Undocumented
Declaration
Swift
func pickerView(_: UIPickerView, didSelectRow row: Int, inComponent component: Int)
PickerView Class Reference