Instance Property

representedElementKind

The identifier for specific elements of your collection view interface.

Declaration

@property(readonly) NSString *representedElementKind;

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 NSCollectionElementCategoryItem, this property is nil.

See Also

Identifying the Element

representedElementCategory

The type of the element.

indexPath

The index path of the element.

NSCollectionElementKindInterItemGapIndicator

The element kind string assigned to the attributes object when it represents an inter-item gap.

NSCollectionElementKindSectionFooter

A supplementary view that acts as a footer for a given section.

NSCollectionElementKindSectionHeader

A supplementary view that acts as a header for a given section.