RSDChoiceTableItem

open class RSDChoiceTableItem : RSDInputFieldTableItem

RSDChoiceTableItem is used to represent a single row in a table where the user picks from a list of choices.

  • The choice for a single or multiple choice input field.

    Declaration

    Swift

    open private(set) var choice: RSDChoice {
      get
      }
  • The answer associated with this choice

    Declaration

    Swift

    open override var answer: Any? { get }
  • Whether or not the choice is currently selected.

    Declaration

    Swift

    open var selected: Bool
  • Initialize a new RSDChoiceTableItem. parameters: - rowIndex: The index of this item relative to all rows in the section in which this item resides. - inputField: The RSDInputField representing this tableItem. - uiHint: The UI hint for this row of the table. - choice: The choice for a single or multiple choice input field.

    Declaration

    Swift

    public init(rowIndex: Int, inputField: RSDInputField, uiHint: RSDFormUIHint, choice: RSDChoice)