One Logo Pool Ball
SwiftUI · IOS API REFERENCE

DocumentConfiguration

struct · iOS 17.0+ · SDK 27.1

struct DocumentConfiguration

The configuration of a document in a ``DocumentGroup``.

Members (2)

get · iOS 17.0+

isEditable

TypeScript
get isEditable(): boolean
Swift declaration
var isEditable: Bool { get }

A Boolean value that indicates whether you can edit the document. On macOS, the document could be non-editable if the user lacks write permissions, the parent directory or volume is read-only, or the document couldn't be autosaved. On iOS, the document is not editable if there was an error reading or saving it, there's an unresolved conflict, the document is being uploaded or downloaded, or otherwise, it is currently busy and unsafe for user edits.

get · iOS 17.0+

fileURL

TypeScript
get fileURL(): (string) | null
Swift declaration
var fileURL: URL? { get }

A URL of an open document. If the document has never been saved, returns `nil`.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →