<!--
{
  "documentType" : "article",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/uicollectionviewdelegate-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 collectionView(UICollectionView, targetIndexPathForMoveFromItemAt: IndexPath, toProposedIndexPath: IndexPath) -> IndexPath`](/documentation/UIKit/UICollectionViewDelegate/collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:))

Asks the delegate for the index path to use when moving an item.

[`func collectionView(UICollectionView, contextMenuConfigurationForItemAt: IndexPath, point: CGPoint) -> UIContextMenuConfiguration?`](/documentation/UIKit/UICollectionViewDelegate/collectionView(_:contextMenuConfigurationForItemAt:point:))

Returns a context menu configuration for the item at a point.

[`func collectionView(UICollectionView, previewForDismissingContextMenuWithConfiguration: UIContextMenuConfiguration) -> UITargetedPreview?`](/documentation/UIKit/UICollectionViewDelegate/collectionView(_:previewForDismissingContextMenuWithConfiguration:))

Returns the destination view when dismissing a context menu.

[`func collectionView(UICollectionView, previewForHighlightingContextMenuWithConfiguration: UIContextMenuConfiguration) -> UITargetedPreview?`](/documentation/UIKit/UICollectionViewDelegate/collectionView(_:previewForHighlightingContextMenuWithConfiguration:))

Returns a view to override the default preview the collection view created.

[`func collectionView(UICollectionView, shouldShowMenuForItemAt: IndexPath) -> Bool`](/documentation/UIKit/UICollectionViewDelegate/collectionView(_:shouldShowMenuForItemAt:))

Asks the delegate if an action menu should be displayed for the specified item.

[`func collectionView(UICollectionView, canPerformAction: Selector, forItemAt: IndexPath, withSender: Any?) -> Bool`](/documentation/UIKit/UICollectionViewDelegate/collectionView(_:canPerformAction:forItemAt:withSender:))

Asks the delegate if it can perform the specified action on an item in the collection view.

[`func collectionView(UICollectionView, performAction: Selector, forItemAt: IndexPath, withSender: Any?)`](/documentation/UIKit/UICollectionViewDelegate/collectionView(_:performAction:forItemAt:withSender:))

Tells the delegate to perform the specified action on an item in the collection view.



---

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)