Instance Property


The index path of the item before the update.


var indexPathBeforeUpdate: IndexPath? { get }


The value of this property is nil for an action of type NSCollectionView.UpdateAction.insert.

See Also

Accessing the Item Changes

var indexPathAfterUpdate: IndexPath?

The index path of the item after the update.

var updateAction: NSCollectionView.UpdateAction

The action being performed on the item.

enum NSCollectionView.UpdateAction

Constants indicating the type of action being performed on an item.

enum NSCollectionView.ScrollDirection

Constants indicating the scrolling direction for the layout.