CellRegistering

protocol CellRegistering : AnyObject

Protocol that provides a method to register cells in [Table|Collection]Views.

  • Registers a cell that conforms to Identifiable.

    Declaration

    Swift

    func register<CellType>(_ type: CellType.Type) where CellType : CellIdentifiable

    Parameters

    type

    The type of the cell to be registered.