<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICollectionViewUpdateItem",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICollectionViewUpdateItem"
  },
  "title" : "UICollectionViewUpdateItem"
}
-->

# UICollectionViewUpdateItem

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

```
@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:)`](/documentation/UIKit/UICollectionViewLayout/prepare(forCollectionViewUpdates:)) method, which can use them to prepare the layout object for the upcoming changes.

## Topics

### Accessing the item changes

[`indexPathBeforeUpdate`](/documentation/UIKit/UICollectionViewUpdateItem/indexPathBeforeUpdate)

The index path of the item before the update.

[`indexPathAfterUpdate`](/documentation/UIKit/UICollectionViewUpdateItem/indexPathAfterUpdate)

The index path of the item after the update.

[`updateAction`](/documentation/UIKit/UICollectionViewUpdateItem/updateAction)

The action being performed on the item.

[`Action`](/documentation/UIKit/UICollectionViewUpdateItem/Action)

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

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)