Contents

representedElementKind

The identifier for specific elements of your collection view interface.

Declaration

var representedElementKind: String? { get }

Discussion

For supplementary and decoration views, you use this string to distinguish between views in a given section. You also use this string to identify the intended purpose of the view in your collection view interface.

When the value of the representedElementCategory property is NSCollectionElementCategory.item, this property is nil.

See Also

Identifying the Element