SwiftinitSwiftUISwiftUI.DocumentGroup

init

SwiftUI.DocumentGroup< where A: Observation.Observable, A: SwiftUI.URLDocument_v3>.init(allowCreating: Bool, newDocument_v3: (SwiftUI.URLDocumentConfiguration_v3, SwiftUI.DocumentCreationContext_v3) async throws -> A, editor_v3: (A) -> B) -> SwiftUI.DocumentGroup<A, B>

Structure

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

generic{}

AB

param{}

  1. 0allowCreating:
  2. 1newDocument_v3:
    function(SwiftUI.URLDocumentConfiguration_v3, SwiftUI.DocumentCreationContext_v3) async throws -> Aescapingasyncthrows
  3. 2editor_v3:
    function(A) -> Bescaping
    • paramgenericParameterA
    • returnsgenericParameterB

result{}

  • arggenericParameterA
  • arggenericParameterB