---
title: NSCollectionElementCategory
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nscollectionelementcategory
---

# NSCollectionElementCategory

Constants specifying the type of element in the collection view.

## Declaration

```swift
enum NSCollectionElementCategory
```

## Topics

### Constants

- [NSCollectionElementCategory.item](appkit/nscollectionelementcategory/item.md)
- [NSCollectionElementCategory.supplementaryView](appkit/nscollectionelementcategory/supplementaryview.md)
- [NSCollectionElementCategory.decorationView](appkit/nscollectionelementcategory/decorationview.md)
- [NSCollectionElementCategory.interItemGap](appkit/nscollectionelementcategory/interitemgap.md)

### Initializers

- [init(rawValue:)](appkit/nscollectionelementcategory/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Constants

- [Inter-Item Gap Support](appkit/inter-item-gap-support.md)
