ListCollectionViewFlowLayout

open class ListCollectionViewFlowLayout : UICollectionViewFlowLayout

A CollectionViewFlowLayout that resembles a table view.

This flow layout mimics a table view layout. It has minimumLineSpacing and minimumInteritemSpacing set to 10. The itemSize is set with the width equal to the collection view frame width minus the left and right section inset, and the height set as the cellHeight property.

  • The height of a cell in the layout. The default value is 135.

    Declaration

    Swift

    public var cellHeight: CGFloat
  • Undocumented

    Declaration

    Swift

    override public init()
  • Undocumented

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    override open func prepare()
  • Undocumented

    Declaration

    Swift

    override open func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool