# SingleChoiceOptionItem

    @IBDesignable
    open class SingleChoiceOptionItem : OptionItem

An option item with a `UIPickerView`. The user can select only one option among the displayed options. Plus, there must be always a selected option.

### Properties

- `selectedItemIndex`

  The currently selected button.

  Note

  Setting an index outside of the available range has no effect.

  #### Declaration

  Swift

      public var selectedItemIndex: Int { get set }

- `pickerDelegate`

  The optional delegate object. When it is set, the delegate object customizes the `UIPickerView`.

  #### Declaration

  Swift

      public weak var pickerDelegate: PickerViewDelegate?