RSDTableItem

open class RSDTableItem

RSDTableItem can be used to represent the type of the row to display.

  • A unique identifier for the table item.

    Declaration

    Swift

    public let identifier: String
  • The index of this item relative to all rows in the section in which this item resides.

    Declaration

    Swift

    public var rowIndex: Int
  • A unique identifier for the section.

    Declaration

    Swift

    public internal(set) var sectionIdentifier: String! {
      get
      }
  • The section index for this group.

    Declaration

    Swift

    public internal(set) var sectionIndex: Int {
      get
      }
  • The string to use as the reuse identifier.

    Declaration

    Swift

    public let reuseIdentifier: String
  • Return the index path of the item.

    Declaration

    Swift

    public var indexPath: IndexPath { get }
  • Initialize a new RSDTableItem.

    Declaration

    Swift

    public init(identifier: String, rowIndex: Int, reuseIdentifier: String)

    Parameters

    identifier

    The cell identifier.

    rowIndex

    The index of this item relative to all rows in the section in which this item resides.

    reuseIdentifier

    The string to use as the reuse identifier.

  • The ReuseIdentifier is a list of reuse identifiers used by this framework to register table cells in a table.

    In addition to the values listed here, the default behavior for the RSDTableItem subclasses includes optional support for all standard RSDFormUIHint values.

    See more

    Declaration

    Swift

    public enum ReuseIdentifier : String, Codable
  • A list of all the RSDTableItem.reuseIdentifier values that are standard to this framework.

    Declaration

    Swift

    public static var allStandardReuseIdentifiers: [String] { get }
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)
  • Declaration

    Swift

    public static func == (lhs: RSDTableItem, rhs: RSDTableItem) -> Bool
  • Declaration

    Swift

    open var description: String { get }