CollectionViewWrapper

public class CollectionViewWrapper
    <
    DataType,
    CellClass: UICollectionViewCell
    where
    CellClass: ConfigurableCell,
    DataType == CellClass.DataType
>: FlowDataDestination, WrapperProtocol

Wraps collection view and set’s collection view data source

  • Undocumented

    Declaration

    Swift

    public class CollectionViewWrapper
        <
        DataType,
        CellClass: UICollectionViewCell
        where
        CellClass: ConfigurableCell,
        DataType == CellClass.DataType
    >: FlowDataDestination, WrapperProtocol
  • Declaration

    Swift

    public init(collectionView: UICollectionView, theme: Theme)

    Parameters

    collectionView

    Collection view to wrap around