]> git.r.bdr.sh - rbdr/map/blame - Map/Views/DefaultMapView.swift
Release 1.1.0
[rbdr/map] / Map / Views / DefaultMapView.swift
CommitLineData
5e8ff485
RBR
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 {
77d0155b 20 DefaultMapView().environment(
5e8ff485
RBR
21 \.managedObjectContext, PersistenceController.preview.container.viewContext)
22 }
23}