Contents

UICollectionViewUpdateItem

An object that describes a single change to make to an item in a collection view.

Declaration

@MainActor class UICollectionViewUpdateItem

Overview

You don’t 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.

Topics

Accessing the item changes

See Also

Layout updates