From 1b85f723b48d38cf345bb9a4f3fd01aa6039b50b Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Tue, 2 Feb 2021 09:16:46 +0100 Subject: Initial commit --- Map/MapApp.swift | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Map/MapApp.swift (limited to 'Map/MapApp.swift') diff --git a/Map/MapApp.swift b/Map/MapApp.swift new file mode 100644 index 0000000..10b6bcb --- /dev/null +++ b/Map/MapApp.swift @@ -0,0 +1,20 @@ +// +// MapApp.swift +// Map +// +// Created by Ruben Beltran del Rio on 2/1/21. +// + +import SwiftUI + +@main +struct MapApp: App { + let persistenceController = PersistenceController.shared + + var body: some Scene { + WindowGroup { + ContentView() + .environment(\.managedObjectContext, persistenceController.container.viewContext) + } + } +} -- cgit