From 5e8ff4850c4827125fe12788dd5b153c4f636f48 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 3 Feb 2021 23:53:12 +0100 Subject: Add code for first release --- Map/Views/DefaultMapView.swift | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Map/Views/DefaultMapView.swift (limited to 'Map/Views/DefaultMapView.swift') diff --git a/Map/Views/DefaultMapView.swift b/Map/Views/DefaultMapView.swift new file mode 100644 index 0000000..66914f1 --- /dev/null +++ b/Map/Views/DefaultMapView.swift @@ -0,0 +1,23 @@ +// +// ContentView.swift +// Map +// +// Created by Ruben Beltran del Rio on 2/1/21. +// + +import CoreData +import SwiftUI + +struct DefaultMapView: View { + + var body: some View { + Text("Select a map from the left hand side, or click on + to create one.") + } +} + +struct DefaultMapView_Previews: PreviewProvider { + static var previews: some View { + MapDetailView(map: Map()).environment( + \.managedObjectContext, PersistenceController.preview.container.viewContext) + } +} -- cgit