aboutsummaryrefslogtreecommitdiff
path: root/Map/MapApp.swift
blob: 9aff010b2021f042f3d7579faac0a6c7b975b616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import SwiftUI

@main
struct MapApp: App {
  var body: some Scene {
    DocumentGroup(newDocument: MapDocument()) { file in
      MapEditor(document: file.$document, url: file.fileURL)
    }.commands {
      MapCommands()
    }
  }
}