Mercurial > public > lazybear
diff LazyBear/LazyBear/LazyBearApp.swift @ 163:9d519f230f26
Start clean project
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Wed, 17 Feb 2021 20:21:57 +0100 |
parents | lazybear/LazyBearApp.swift@6488392684cc |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LazyBear/LazyBear/LazyBearApp.swift Wed Feb 17 20:21:57 2021 +0100 @@ -0,0 +1,20 @@ +// +// LazyBearApp.swift +// LazyBear +// +// Created by Dennis Concepción Martín on 17/2/21. +// + +import SwiftUI + +@main +struct LazyBearApp: App { + let persistenceController = PersistenceController.shared + + var body: some Scene { + WindowGroup { + ContentView() + .environment(\.managedObjectContext, persistenceController.container.viewContext) + } + } +}