You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
JustOneThing/AppShared/JustOneThingApp.swift

19 lines
436 B

//
// JustOneThingApp.swift
// JustOneThing
//
// Created by Alan Francis on 02/06/2023.
//
import SwiftUI
@main
struct JustOneThingApp: App {
let persistenceController = PersistenceController.preview // or PersistenceController.shared
var body: some Scene {
WindowGroup {
ContentView()
.environment(\.managedObjectContext, persistenceController.container.viewContext)
}
}
}