CellFactory

final class CellFactory

CellFactory

  • Suitability

    Declaration

    Swift

    func suitable(for item: Any) -> Bool

    Parameters

    item

    Item

  • Configure

    Declaration

    Swift

    func configure(_ cell: UITableViewCell,
                   with item: Any,
                   for indexPath: IndexPath,
                   eventHandler: Any?) -> UITableViewCell?

    Parameters

    cell

    Cell

    item

    Item

    indexPath

    Index path

    eventHandler

    Event handler