---
title: "deleteItems(withIdentifiers:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/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()](appkit/nsdiffabledatasourcesnapshotreference/deleteallitems().md)
- [deleteSections(withIdentifiers:)](appkit/nsdiffabledatasourcesnapshotreference/deletesections(withidentifiers:).md)
