OptionDescriptive

public protocol OptionDescriptive : Equatable

The protocol defines the required variables to be displayed in a UIPickerView via OptionPickerControl.

  • The text for the row in the UIPickerView.

    Declaration

    Swift

    var title: String { get }
  • The text for a placeholder row when the picker selection is optional.

    Declaration

    Swift

    static var titleForOptionalValue: String { get }