---
title: "deleteItems(withIdentifiers:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/nsdiffabledatasourcesnapshotreference/deleteitems(withidentifiers:)"
---

# deleteItems(withIdentifiers:)

Deletes the items with the specified identifiers from the snapshot.

## Declaration

```swift
func deleteItems(withIdentifiers identifiers: [Any])
```

## Parameters

- `identifiers`: The array of identifiers corresponding to the items to delete from the snapshot.

## See Also

### Removing items and sections

- [deleteAllItems()](uikit/nsdiffabledatasourcesnapshotreference/deleteallitems().md)
- [deleteSections(withIdentifiers:)](uikit/nsdiffabledatasourcesnapshotreference/deletesections(withidentifiers:).md)
