RSDNumberInputTableItem

public final class RSDNumberInputTableItem : RSDTextInputTableItem

An table item for entering a number value.

  • Initialize a new RSDInputFieldTableItem. 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.

    Declaration

    Swift

    public init(rowIndex: Int, inputField: RSDInputField, uiHint: RSDFormUIHint)
  • Override to check if the returned value is a Measurement and return the double value if it is.

    Declaration

    Swift

    override public func convertAnswer(_ newValue: Any) throws -> Any?
  • Override to check the range of the value

    Declaration

    Swift

    override public func validatedAnswer(_ newValue: Any?) throws -> Any?