FUIObjectCollectionSection
public protocol FUIObjectCollectionSection : FUIObjectSection
A section for showing a collection of UICollectionViewCell or its variants.
-
UITableViewCellat a specific index path.Declaration
Swift
var cellProvider: ((AnyTableBasedFloorplan, UICollectionView, IndexPath, any Hashable & Sendable) -> UICollectionViewCell)? { get }Parameters
floorplanThe floorplan that owns the cell.
collectionViewThe collection view which manages all cells.
indexPathIndex path for the cell.
elementThe element that this cell represents.
-
collectionViewLayoutDefault implementationDefault layout is
FUICollectionViewLayout.horizontalScroll. Implement this property to use customized layout.Default Implementation
Declaration
Swift
var collectionViewLayout: UICollectionViewLayout { get } -
cellTypeAndReuseIdentifierExtension methodDeclaration
Swift
public var cellTypeAndReuseIdentifier: (AnyClass, String) { get }