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


enum UpdateAction : Int



case insert

Insert the item into the collection view.

case delete

Remove the action from the collection view.

case reload

Reload the item, which consists of deleting and then inserting the item.

case move

Move the item from its current location to a new location.

case none

Take no action on the item.

See Also

Accessing the Item Changes

var indexPathBeforeUpdate: IndexPath?

The index path of the item before the update.

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.ScrollDirection

Constants indicating the scrolling direction for the layout.