SwiftclassSwiftUI
FileDocumentBox
class SwiftUI.FileDocumentBox
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolCombine.ObservableObject
- protocolSwiftUI.DocumentBaseBox
- protocolSwiftUI.ObservableDocumentBox
Members 12
- field
var _base: Combine.Published<A?> - field
var _fileURL: Combine.Published<Foundation.URL?> - field
var _isEditable: Combine.Published<Bool> - field
var _isEdited: Combine.Published<Bool?> - field
var autosaveBehavior: SwiftUI.ObservableDocumentConfiguration.AutosaveBehavior? - field
var creationSource: SwiftUI.DocumentCreationSource? - field
var hasLoadedDocument: Bool - field
var makeFileCoordinator: @Sendable () -> sending NSFileCoordinator - field
var progressManager: SwiftUI._ProgressManager? - field
var undoManager: NSUndoManager? - typealias
typealias Document = A - typealias
typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
Header
class FileDocumentBox<A> where A: SwiftUI.FileDocument { // synthesized from the backing storage `_base`; the property's own accessors are stripped @Combine.Published var base: A? { get set } // synthesized from the backing storage `_fileURL`; the property's own accessors are stripped @Combine.Published var fileURL: Foundation.URL? { get set } // synthesized from the backing storage `_isEditable`; the property's own accessors are stripped @Combine.Published var isEditable: Swift.Bool { get set } // synthesized from the backing storage `_isEdited`; the property's own accessors are stripped @Combine.Published var isEdited: Swift.Bool? { get set } var hasLoadedDocument: Swift.Bool var undoManager: __C.NSUndoManager? var autosaveBehavior: SwiftUI.ObservableDocumentConfiguration.AutosaveBehavior? var makeFileCoordinator: @Sendable () -> sending __C.NSFileCoordinator var progressManager: SwiftUI._ProgressManager? var creationSource: SwiftUI.DocumentCreationSource? }