Contents

reorderingHandlers

The diffable data source’s handlers for reordering items.

Declaration

@NSCopying var reorderingHandlers: __UICollectionViewDiffableDataSourceReorderingHandlers { get set }

Discussion

Provide reordering handlers to support the reordering of items in your collection view.

The system calls the didReorderHandler handler after a reordering transaction (NSDiffableDataSourceTransaction) occurs, so you can update your data backing store with information about the changes.