leganto-apple/Leganto/LegantoApp.swift
Louis Hollingworth 9701c3428c
Removed not needed stuff from generation.
Started adding a view for adding data.

Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
2023-05-21 13:52:47 +01:00

21 lines
387 B
Swift

//
// LegantoApp.swift
// Leganto
//
// Created by Louis Hollingworth on 2023-05-21.
//
import SwiftUI
@main
struct LegantoApp: App {
@StateObject private var dataController = DataController()
var body: some Scene {
WindowGroup {
ContentView()
.environment(\.managedObjectContext, dataController.container.viewContext)
}
}
}