RSDChoicePickerView
open class RSDChoicePickerView : UIPickerView, RSDPickerViewProtocol, UIPickerViewDataSource, UIPickerViewDelegate
RSDChoicePickerView is a UIPickerView that can be used to represent a picker with an associated index path.
This picker has a RSDChoicePickerDataSource as it’s source. This implementation only supports text choices.
-
The observer of this picker
Declaration
Swift
public weak var observer: RSDPickerObserver? -
The index path associated with this picker.
Declaration
Swift
public var indexPath: IndexPath! -
The picker view data source for this view. This is a strong reference.
Declaration
Swift
public var pickerSource: RSDChoicePickerDataSource! -
The answer maps to the values for the selected rows.
Declaration
Swift
public var answer: Any? -
Default initializer.
Declaration
Swift
public init(pickerSource: RSDChoicePickerDataSource, indexPath: IndexPath)Parameters
pickerSourceThe picker source used to set up the picker.
indexPathThe index path associated with this picker.
-
Undocumented
Declaration
Swift
public required init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration
Swift
open func numberOfComponents(in pickerView: UIPickerView) -> Int -
Undocumented
Declaration
Swift
open func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int
-
Undocumented
Declaration
Swift
open func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? -
Undocumented
Declaration
Swift
open func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int)
View on GitHub
RSDChoicePickerView Class Reference