Created
November 14, 2021 14:27
-
-
Save jasper-lyons/4a4ae8db2b530890cb018193399543c7 to your computer and use it in GitHub Desktop.
Smallest Valid SwiftUI Program - Works without loading the XCode UI (Still needs to be installed)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
struct app: App { | |
var body: some Scene { | |
WindowGroup { | |
Text("Hello").padding() | |
} | |
} | |
} | |
app.main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment