RSDTableSection
open class RSDTableSection
Defines a section in a table. A table is made up of sections, groups and items. For most group types, there is one cell per group. The exception would be where the ui hint is for a list where each value is displayed in a selectable list.
-
The list of items included in this section.
Declaration
Swift
open private(set) var itemGroups: [RSDTableItemGroup] = []
-
The table section index.
Declaration
Swift
open private(set) var index: Int
-
The title for this section.
Declaration
Swift
public var title: String?
-
Returns the total count of all Items in this section.
Declaration
Swift
open func rowCount() -> Int
Return Value
The total number of
RSDTableItems
in this section. -
Default initializer.
Declaration
Swift
public init(sectionIndex: Int, itemGroups: [RSDTableItemGroup])
Parameters
sectionIndex
The table section index for this item.
itemGroups
The item groups in this section.