Adding Observables class

This commit is contained in:
Paddy authored and Patrick Müller committed 2020-12-21 20:54:59 +01:00
1 parent bdc3560668
commit f47674cdbb
5 files changed
+72 -9

No files matched your search

+2
View File
@@ -10,11 +10,13 @@ import SwiftUI
@main
struct DHBW_ServiceApp: App {
let persistenceController = PersistenceController.shared
let settings = LocalSettings()
var body: some Scene {
WindowGroup {
ContentView()
.environment(\.managedObjectContext, persistenceController.context)
.environmentObject(settings)
}
}
}