Contents

representedElementCategory

The type of the element.

Declaration

var representedElementCategory: NSCollectionElementCategory { get }

Discussion

Use this property to distinguish whether the layout attributes apply to an item, a supplementary view, a decoration view, or another type of element presented by the collection view.

See Also

Identifying the Element