]> git.r.bdr.sh - rbdr/map/blob - Map/Views/DefaultMapView.swift
Release 1.1.0
[rbdr/map] / Map / Views / DefaultMapView.swift
1 //
2 // ContentView.swift
3 // Map
4 //
5 // Created by Ruben Beltran del Rio on 2/1/21.
6 //
7
8 import CoreData
9 import SwiftUI
10
11 struct DefaultMapView: View {
12
13 var body: some View {
14 Text("Select a map from the left hand side, or click on + to create one.")
15 }
16 }
17
18 struct DefaultMapView_Previews: PreviewProvider {
19 static var previews: some View {
20 DefaultMapView().environment(
21 \.managedObjectContext, PersistenceController.preview.container.viewContext)
22 }
23 }