<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICollectionViewDiffableDataSourceReorderingHandlers",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICollectionViewDiffableDataSourceReorderingHandlers"
  },
  "title" : "UICollectionViewDiffableDataSourceReorderingHandlers"
}
-->

# UICollectionViewDiffableDataSourceReorderingHandlers

Handlers for reordering items.

```
@interface UICollectionViewDiffableDataSourceReorderingHandlers : NSObject
```

## Topics

### Reordering items

[`canReorderItemHandler`](/documentation/UIKit/UICollectionViewDiffableDataSourceReorderingHandlers/canReorderItemHandler)

The handler that determines whether you can reorder a particular item.

[`willReorderHandler`](/documentation/UIKit/UICollectionViewDiffableDataSourceReorderingHandlers/willReorderHandler)

The handler that prepares the diffable data source for reordering its items.

[`didReorderHandler`](/documentation/UIKit/UICollectionViewDiffableDataSourceReorderingHandlers/didReorderHandler)

The handler that processes a reordering transaction.



---

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)