RSDNumberPickerView
open class RSDNumberPickerView : UIPickerView, RSDPickerViewProtocol, UIPickerViewDataSource, UIPickerViewDelegate
RSDNumberPickerView is a UIPickerView that can be used to represent a picker with an associated index path.
This picker has a RSDNumberPickerDataSource as it’s source.
-
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: RSDNumberPickerDataSource! -
The answer maps to the values for the selected rows.
Declaration
Swift
public var answer: Any? -
Default initializer.
Declaration
Swift
public init(pickerSource: RSDNumberPickerDataSource, 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
RSDNumberPickerView Class Reference