vertical(layoutSize:repeatingSubitem:count:)
Creates a group that repeats the specified subitem a certain number of times along the vertical axis.
Declaration
class func vertical(layoutSize: NSCollectionLayoutSize, repeatingSubitem subitem: NSCollectionLayoutItem, count: Int) -> SelfParameters
- layoutSize:
The group’s size.
- subitem:
The subitem to repeat. It’s your responsibility to ensure that the group’s
layoutSizecan fitcountrepetitions of this item. - count:
The number of times to repeat the subitem.