Mercurial > public > simoleon
diff Simoleon/ContentView.swift @ 0:e0c2bda6c51f
first commit
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sun, 11 Jul 2021 15:13:29 +0100 |
parents | |
children | a62e5e4a4f02 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Simoleon/ContentView.swift Sun Jul 11 15:13:29 2021 +0100 @@ -0,0 +1,21 @@ +// +// ContentView.swift +// Simoleon +// +// Created by Dennis Concepción Martín on 08/07/2021. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + Text("Hello world") + } +} + + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView().environment(\.managedObjectContext, PersistenceController.preview.container.viewContext) + } +}