RSDTableItemGroup

open class RSDTableItemGroup

RSDTableItemGroup is a generic table item group object that can be used to display information in a tableview that does not have an associated input field.

  • The list of items (or rows) included in this group. A table group can be used to represent one or more rows.

    Declaration

    Swift

    public let items: [RSDTableItem]
  • The section index for this group.

    Declaration

    Swift

    public var sectionIndex: Int
  • The row index for the first row in the group.

    Declaration

    Swift

    public let beginningRowIndex: Int
  • A unique identifier that can be used to track the group.

    Declaration

    Swift

    public let uuid: UUID
  • Determine if the current answer is valid. Also checks the case where answer is required but one has not been provided.

    Declaration

    Swift

    open var isAnswerValid: Bool { get }
  • Default initializer.

    Declaration

    Swift

    public init(beginningRowIndex: Int, items: [RSDTableItem])

    Parameters

    beginningRowIndex

    The row index for the first row in the group.

    items

    The list of items (or rows) included in this group.