Class

NSCollectionViewUpdateItem

A description of a single change to make to an item in a collection view.

Declaration

@interface NSCollectionViewUpdateItem : 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 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.

NSCollectionUpdateAction

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

NSCollectionViewScrollDirection

Constants indicating the scrolling direction for the layout.

Constants

NSCollectionUpdateAction

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

Relationships

Inherits From

See Also

Updates

NSCollectionViewLayoutInvalidationContext

An object that identifies the portions of your layout that need to be updated.

NSCollectionViewFlowLayoutInvalidationContext

An object that identifies the portions of a flow layout object that need to be updated.