aboutsummaryrefslogtreecommitdiff
path: root/Map/Views/DefaultMapView.swift
blob: 66914f12a245442c81e2dbd3cab9f5638724d252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)
  }
}