Class

UICollectionViewUpdateItem

The UICollectionViewUpdateItem class describes a single change to make to an item in a collection view. You do not create instances of this class directly. When updating its content, the collection view object creates them and passes them to the layout object’s prepare(forCollectionViewUpdates:) method, which can use them to prepare the layout object for the upcoming changes.

Symbols

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: UICollectionUpdateAction

The action being performed on the item.

Constants

UICollectionUpdateAction

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

Relationships

Inherits From

Conforms To