---
title: UICollectionViewUpdateItem
framework: uikit
role: symbol
role_heading: Class
path: uikit/uicollectionviewupdateitem
---

# UICollectionViewUpdateItem

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

## Declaration

```swift
@MainActor class UICollectionViewUpdateItem
```

## Overview

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

- [indexPathBeforeUpdate](uikit/uicollectionviewupdateitem/indexpathbeforeupdate.md)
- [indexPathAfterUpdate](uikit/uicollectionviewupdateitem/indexpathafterupdate.md)
- [updateAction](uikit/uicollectionviewupdateitem/updateaction.md)
- [UICollectionViewUpdateItem.Action](uikit/uicollectionviewupdateitem/action.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)

## See Also

### Layout updates

- [NSCollectionLayoutVisibleItem](uikit/nscollectionlayoutvisibleitem.md)
- [NSCollectionLayoutSectionVisibleItemsInvalidationHandler](uikit/nscollectionlayoutsectionvisibleitemsinvalidationhandler.md)
- [UICollectionViewFocusUpdateContext](uikit/uicollectionviewfocusupdatecontext.md)
- [UICollectionViewLayoutInvalidationContext](uikit/uicollectionviewlayoutinvalidationcontext.md)
