---
title: Snapshot
framework: swiftui
role: symbol
role_heading: Associated Type
path: swiftui/documentwriter/snapshot
---

# Snapshot

A type that represents the document’s stored content.

## Declaration

```swift
associatedtype Snapshot
```

## See Also

### Writing a document

- [write(content:to:previous:progress:)](swiftui/documentwriter/write(content:to:previous:progress:).md)
- [Destination](swiftui/documentwriter/destination.md)
