<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/nscollectionview-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated symbols"
}
-->

# Deprecated symbols

Review symbols that are no longer in active development, and their recommended replacements.

## Overview

Although these symbols are available for use, Apple is no longer actively developing them, and may remove them in a future release. Apple recommends moving away from these symbols and using their indicated replacements instead. Check the individual symbol pages for the recommended replacements.

## Topics

### Deprecated methods

[`func newItem(forRepresentedObject: Any) -> NSCollectionViewItem`](/documentation/AppKit/NSCollectionView/newItem(forRepresentedObject:))

Returns the collection view item that is used for the specified object.

### Deprecated properties

[`var itemPrototype: NSCollectionViewItem?`](/documentation/AppKit/NSCollectionView/itemPrototype)

The receiver’s collection view item prototype.

[`var maxNumberOfRows: Int`](/documentation/AppKit/NSCollectionView/maxNumberOfRows)

The maximum number of rows that the collection view displays.

[`var maxNumberOfColumns: Int`](/documentation/AppKit/NSCollectionView/maxNumberOfColumns)

The maximum number of columns that the collection view displays.

[`var minItemSize: NSSize`](/documentation/AppKit/NSCollectionView/minItemSize)

The minimum size (in points) of items in the collection view grid.

[`var maxItemSize: NSSize`](/documentation/AppKit/NSCollectionView/maxItemSize)

The maximum size (in points) of items in the collection view grid.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)