CellConfigurator

public struct CellConfigurator<Item, Cell> : CellConfiguratorProtocol where Item : MenuItem, Cell : UICollectionViewCell

A concrete cell configurator implementation that can be configured with a closure.

  • Creates a new cell configurator with the given closure.

    Declaration

    Swift

    public init(cellConfigurationClosure: @escaping (Cell, Item) -> Cell)

    Parameters

    cellConfigurationClosure

    The configuration closure that configures the cell.