SwiftclassSwiftUI

class SwiftUI.FileDocumentBox

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 12

  1. fieldvar _base: Combine.Published<A?>
  2. fieldvar _fileURL: Combine.Published<Foundation.URL?>
  3. fieldvar _isEditable: Combine.Published<Bool>
  4. fieldvar _isEdited: Combine.Published<Bool?>
  5. fieldvar autosaveBehavior: SwiftUI.ObservableDocumentConfiguration.AutosaveBehavior?
  6. fieldvar creationSource: SwiftUI.DocumentCreationSource?
  7. fieldvar hasLoadedDocument: Bool
  8. fieldvar makeFileCoordinator: @Sendable () -> sending NSFileCoordinator
  9. fieldvar progressManager: SwiftUI._ProgressManager?
  10. fieldvar undoManager: NSUndoManager?
  11. typealiastypealias Document = A
  12. typealiastypealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
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?
}