]> git.r.bdr.sh - rbdr/map/blob - Map/MapApp.swift
9aff010b2021f042f3d7579faac0a6c7b975b616
[rbdr/map] / Map / MapApp.swift
1 import SwiftUI
2
3 @main
4 struct MapApp: App {
5 var body: some Scene {
6 DocumentGroup(newDocument: MapDocument()) { file in
7 MapEditor(document: file.$document, url: file.fileURL)
8 }.commands {
9 MapCommands()
10 }
11 }
12 }