Basic Concepts Explained for Beginners
@main
struct BasicsApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
@main: The main attribute marks the entry point of your app, which conforms to the app protocol.
WindowGroup: It's a container...
applelens.hashnode.dev1 min read