RSDBooleanTableItemGroup
public final class RSDBooleanTableItemGroup : RSDChoicePickerTableItemGroup
An item group for entering a boolean data type.
-
Default initializer.
Declaration
Swift
public init(beginningRowIndex: Int, inputField: RSDInputField, uiHint: RSDFormUIHint)Parameters
beginningRowIndexThe first row of the item group.
inputFieldThe input field associated with this item group.
uiHintThe UI hint.
-
Override setting the answer to set to
falserather thannilif this is a single selection checkbox and the value has been de-selected.Declaration
Swift
public override func setAnswer(_ newValue: Any?) throws -
Override setting the answer from a result to check for
niland exit early if found.Declaration
Swift
public override func setAnswer(from result: RSDResult) throws -
Override to set the default answer to false if the checkbox is not checked.
Declaration
Swift
public override func setDefaultAnswerIfValid() -> Bool
View on GitHub
RSDBooleanTableItemGroup Class Reference