]> git.r.bdr.sh - rbdr/map/blob - Map/MapApp.swift
10b6bcb6ab9cbec9917ddbe7dad7341378a67167
[rbdr/map] / Map / MapApp.swift
1 //
2 // MapApp.swift
3 // Map
4 //
5 // Created by Ruben Beltran del Rio on 2/1/21.
6 //
7
8 import SwiftUI
9
10 @main
11 struct MapApp: App {
12 let persistenceController = PersistenceController.shared
13
14 var body: some Scene {
15 WindowGroup {
16 ContentView()
17 .environment(\.managedObjectContext, persistenceController.container.viewContext)
18 }
19 }
20 }