SwiftstructSwiftUI
FileWrapperDocumentWriter_v3
struct SwiftUI.FileWrapperDocumentWriter_v3
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.DocumentWriter_v3
Members 5
- field
var configuration: SwiftUI.URLDocumentWriteConfiguration_v3 - field
var makeFileWrapper: (A?) async throws -> NSFileWrapper - func
write(snapshot: __owned A?, progress: __owned Foundation.Subprogress) async throws -> () - init
init(_: SwiftUI.URLDocumentWriteConfiguration_v3, makeFileWrapper: (A?) async throws -> NSFileWrapper) -> SwiftUI.FileWrapperDocumentWriter_v3<A> - typealias
typealias Snapshot = A
Header
struct FileWrapperDocumentWriter_v3<A> { var configuration: SwiftUI.URLDocumentWriteConfiguration_v3 var makeFileWrapper: (_: A?) async throws -> __C.NSFileWrapper init(_: SwiftUI.URLDocumentWriteConfiguration_v3, makeFileWrapper: @escaping (_: A?) async throws -> __C.NSFileWrapper) func write(snapshot: consuming A?, progress: consuming Foundation.Subprogress) async throws }