---
title: FileDocument.WriteConfiguration
framework: swiftui
role: symbol
role_heading: Type Alias
path: swiftui/filedocument/writeconfiguration
---

# FileDocument.WriteConfiguration

The configuration for writing document contents.

## Declaration

```swift
typealias WriteConfiguration = FileDocumentWriteConfiguration
```

## Discussion

Discussion This type is an alias for FileDocumentWriteConfiguration, which contains a content type and a file wrapper that you use to access the contents of a document file, if one already exists. You get a value of this type as an input to the fileWrapper(configuration:) method.

## See Also

### Writing a document

- [fileWrapper(configuration:)](swiftui/filedocument/filewrapper(configuration:).md)
- [writableContentTypes](swiftui/filedocument/writablecontenttypes.md)
