RSDPickerViewProtocol

@objc
public protocol RSDPickerViewProtocol : AnyObject, NSObjectProtocol

RSDPickerViewProtocol is a protocol for an input view that can be used to pick an answer.

  • The index path associated with this picker.

    Declaration

    Swift

    @objc
    var indexPath: IndexPath! { get set }
  • The answer from the picker view that maps to the input field.

    Declaration

    Swift

    @objc
    var answer: Any? { get set }
  • The observer to alert when there is a change in the selected value.

    Declaration

    Swift

    @objc
    weak var observer: RSDPickerObserver? { get set }