mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2024-11-22 17:33:57 +00:00
23 lines
468 B
Swift
23 lines
468 B
Swift
//
|
|
// DHBW_ServiceApp.swift
|
|
// DHBW-Service
|
|
//
|
|
// Created by Patrick Müller on 20.12.20.
|
|
//
|
|
|
|
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)
|
|
}
|
|
}
|
|
}
|