Louis Hollingworth
9701c3428c
Started adding a view for adding data. Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
21 lines
387 B
Swift
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)
|
|
}
|
|
}
|
|
}
|