Instance Property

interactiveMovementTarget

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

Declaration

var interactiveMovementTarget: CGPoint { get }

Discussion

This property is filled when an interactive move is in progress or has just ended. The value represents the point that was used to determine the new index paths in the targetIndexPathsForInteractivelyMovingItems property. You can use this point as needed to calculate the position of items in your layout.

See Also

Invalidating the Order of Items

var previousIndexPathsForInteractivelyMovingItems: [IndexPath]?

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

var targetIndexPathsForInteractivelyMovingItems: [IndexPath]?

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