Instance Property

previousIndexPathsForInteractivelyMovingItems

An array of index paths representing the previous location of moving items in the collection view.

Declaration

var previousIndexPathsForInteractivelyMovingItems: [IndexPath]? { get }

Discussion

This property is filled when an interactive move is in progress or has just ended. Use this property together with the targetIndexPathsForInteractivelyMovingItems property to determine what changes you need to make to the affected items. For most other updates, the value of this property is nil.

See Also

Invalidating the Order of Items

var targetIndexPathsForInteractivelyMovingItems: [IndexPath]?

An array of index paths representing the new location of moving items in the collection view.

var interactiveMovementTarget: CGPoint

The current point used to determine the placement of moving items.