Class

UICollectionViewUpdateItem

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

Declaration

@interface UICollectionViewUpdateItem : NSObject

Overview

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 prepareForCollectionViewUpdates: method, which can use them to prepare the layout object for the upcoming changes.

Topics

Accessing the Item Changes

indexPathBeforeUpdate

The index path of the item before the update.

indexPathAfterUpdate

The index path of the item after the update.

updateAction

The action being performed on the item.

Constants

UICollectionUpdateAction

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

Relationships

Inherits From

See Also

Layout Updates

UICollectionViewFocusUpdateContext

A context object that stores information specific to a focus update in a collection view.

UICollectionViewLayoutInvalidationContext

A context object that declares which parts of your layout need to be updated when the layout is invalidated.

UICollectionViewFlowLayoutInvalidationContext

A set of properties for determining whether to recompute the size of items or their position in the layout.