---
title: collectionView
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscollectionviewitem/collectionview
---

# collectionView

The collection view that owns the item.

## Declaration

```swift
weak var collectionView: NSCollectionView? { get }
```

## Discussion

Discussion Use this property as a convenient way to access the collection view that owns the item.
