Post

Replies

Boosts

Views

Activity

Multiple Document Group
Cannot figure out how to create and open files of different type using multiple DocumentGroups with SwiftUI. Something like this? struct ScheduleApp: App { var body: some Scene { DocumentGroup(newDocument: ScheduleDocument()) { file in ContentView(document: file.$document) } DocumentGroup(newDocument: JobDocument()) { file in JobContentView(document: file.$document) } } }
0
0
658
Sep ’20