FUICardCollectionViewTableViewCell

@MainActor
open class FUICardCollectionViewTableViewCell : FUIBaseCollectionViewTableViewCell

UITableViewCell containing a UICollectionView, configured for displaying Card collection view items.

Takes responsibility for correct layout and sizing for the card items, for different screen dimensions.

  • Configuration parameter, to specify whether the flow layout type should be used–if it is supported for the screen dimensions. Setting to false will force horizontal scrolling on all devices.

    Declaration

    Swift

    @MainActor
    public var isAllowingFlowLayout: Bool
  • A closure that is called when the content size of the collection view changes. Typically used to dynamically adjust the height of a parent table view cell. Inside this closure, you can call tableView.beginUpdates() and tableView.endUpdates() to animate the table view row height change in response to the collection view’s new content size.

    Declaration

    Swift

    @MainActor
    public var contentSizeDidChange: ((CGSize) -> Void)?
  • Declaration

    Swift

    @MainActor
    open override func systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority: UILayoutPriority) -> CGSize