---
title: deleteAll()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/nsdiffabledatasourcesectionsnapshot-swift.struct/deleteall()
---

# deleteAll()

Deletes all of the items from the section snapshot.

## Declaration

```swift
mutating func deleteAll()
```

## See Also

### Removing items

- [delete(_:)](uikit/nsdiffabledatasourcesectionsnapshot-swift.struct/delete(_:).md)
