Contents

DocumentWriteConfiguration

The context SwiftUI passes to Writer(configuration:).

Declaration

struct DocumentWriteConfiguration

Overview

Contains the contentType of the file being written (one of the document’s writableContentTypes). Use it to choose the correct serialization strategy when a document supports exporting to multiple formats.

Access this type through the WritableDocument.WriteConfiguration typealias.

Topics

Accessing write properties

See Also

Reading and writing documents