]> git.r.bdr.sh - rbdr/map/blame_incremental - Map/Views/DefaultMapView.swift
Add sidebar menu
[rbdr/map] / Map / Views / DefaultMapView.swift
... / ...
CommitLineData
1//
2// ContentView.swift
3// Map
4//
5// Created by Ruben Beltran del Rio on 2/1/21.
6//
7
8import CoreData
9import SwiftUI
10
11struct 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
18struct DefaultMapView_Previews: PreviewProvider {
19 static var previews: some View {
20 DefaultMapView().environment(
21 \.managedObjectContext, PersistenceController.preview.container.viewContext)
22 }
23}