Contents

representedElementCategory

The type of the item.

Declaration

var representedElementCategory: UICollectionView.ElementCategory { get }

Discussion

You can use the value in this property to distinguish whether the layout attributes are intended for a cell, supplementary view, or decoration view.

See Also

Identifying the referenced item