---
title: "deleteItems(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/nsdiffabledatasourcesnapshot-swift.struct/deleteitems(_:)"
---

# deleteItems(_:)

Deletes the items with the specified identifiers from the snapshot.

## Declaration

```swift
mutating func deleteItems(_ identifiers: [ItemIdentifierType])
```

## Parameters

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

## See Also

### Removing items and sections

- [deleteAllItems()](uikit/nsdiffabledatasourcesnapshot-swift.struct/deleteallitems().md)
- [deleteSections(_:)](uikit/nsdiffabledatasourcesnapshot-swift.struct/deletesections(_:).md)
