GenericSectionUpdate

open class GenericSectionUpdate<RowModel, SectionID> where
    RowModel: Hashable,
    SectionID: Hashable

Generic class that represents suggested updates to the DiffableDataSource

  • id

    Unique ID of the section

    Declaration

    Swift

    public private(set) var id: SectionID { get }
  • Returns numberof rows

    Declaration

    Swift

    open var numberOfRows: Int { get }
  • Constructor

    Declaration

    Swift

    public init(id: SectionID)

    Parameters

    id

    Unique ID of the section