2023-01-12 15:42:22 +00:00
|
|
|
//
|
|
|
|
// FirebonkApp.swift
|
|
|
|
// Firebonk
|
|
|
|
//
|
|
|
|
// Created by Patrick Müller on 12.01.23.
|
|
|
|
//
|
|
|
|
|
|
|
|
import SwiftUI
|
|
|
|
|
|
|
|
@main
|
|
|
|
struct FirebonkApp: App {
|
2023-01-13 18:12:23 +00:00
|
|
|
let persistenceController = PersistenceController.shared
|
|
|
|
|
2023-01-12 15:42:22 +00:00
|
|
|
var body: some Scene {
|
2023-01-12 22:07:37 +00:00
|
|
|
WindowGroup {
|
|
|
|
ContentView()
|
2023-01-13 18:12:23 +00:00
|
|
|
.environment(\.managedObjectContext, persistenceController.context)
|
2023-01-12 15:42:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|