Enumeration

NSCollectionElementCategory

Constants specifying the type of element in the collection view.

Declaration

typedef enum NSCollectionElementCategory : NSInteger {
    ...
} NSCollectionElementCategory;

Topics

Constants

NSCollectionElementCategoryItem

The element is an item. Items represent the main content of your collection view.

NSCollectionElementCategorySupplementaryView

The element is a supplementary view. Use supplementary views for single views that contain some data but are associated with an entire section. For example, use them to specify header or footer views for a section.

NSCollectionElementCategoryDecorationView

The element is a decoration view. Decoration views represent visual adornments that do not contain any data of their own.

NSCollectionElementCategoryInterItemGap

The element is an inter-item gap. An inter-item gap element is a custom visual indicator that is displayed between items when dropping items into the collection view.