FUIObjectCollectionSection

public protocol FUIObjectCollectionSection : FUIObjectSection

A section for showing a collection of UICollectionViewCell or its variants.

  • UITableViewCell at a specific index path.

    Declaration

    Swift

    var cellProvider: ((AnyTableBasedFloorplan, UICollectionView, IndexPath, AnyHashable) -> UICollectionViewCell)? { get }

    Parameters

    floorplan

    The floorplan that owns the cell.

    collectionView

    The collection view which manages all cells.

    indexPath

    Index path for the cell.

    element

    The element that this cell represents.

  • collectionViewLayout Default implementation

    Default layout is FUICollectionViewLayout.horizontalScrollDynamicSize. Implement this property to use customized layout.

    Default Implementation

    Declaration

    Swift

    var collectionViewLayout: UICollectionViewLayout { get }
  • cellTypeAndReuseIdentifier Extension method

    Declaration

    Swift

    public var cellTypeAndReuseIdentifier: (AnyClass, String) { get }