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? { get set }
-
Default initializer.
Declaration
Swift
public init(pickerSource: RSDNumberPickerDataSource, indexPath: IndexPath)
Parameters
pickerSource
The picker source used to set up the picker.
indexPath
The index path associated with this picker.