representedElementKind
The layout-specific identifier for the target view.
Declaration
var representedElementKind: String? { get }Discussion
You can use the value in this property to identify the specific purpose of the supplementary or decoration view associated with the attributes. This property is nil if the representedElementCategory property contains the value UICollectionView.ElementCategory.cell.