comparison Simoleon/SimoleonApp.swift @ 0:e0c2bda6c51f

first commit
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sun, 11 Jul 2021 15:13:29 +0100
parents
children a02f463aa906
comparison
equal deleted inserted replaced
-1:000000000000 0:e0c2bda6c51f
1 //
2 // SimoleonApp.swift
3 // Simoleon
4 //
5 // Created by Dennis Concepción Martín on 08/07/2021.
6 //
7
8 import SwiftUI
9
10 @main
11 struct SimoleonApp: App {
12 let persistenceController = PersistenceController.shared
13
14 var body: some Scene {
15 WindowGroup {
16 ContentView()
17 .environment(\.managedObjectContext, persistenceController.container.viewContext)
18 }
19 }
20 }