https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
i

iamsteveholmes

07/29/2021, 7:13 PM
Hey Folks! I noticed when I build a new project it has a simple
iosApp.swift
class with:
Copy code
import SwiftUI

@main
struct iOSApp: App {
	var body: some Scene {
		WindowGroup {
			ContentView()
		}
	}
}
Instead of the whole AppDelegate and SceneDelegate thing. Being new to IOS and swift entirely I know very little except the new way seems WAY simpler and maybe more versatile and configurable to create multiple scenes, etc. Has anyone converted from the old way to the new way?
👀 1
u

uli

07/29/2021, 8:41 PM
That's swiftUI
i

iamsteveholmes

07/29/2021, 9:41 PM
Right, SwiftUI instead of a mix of SwiftUI and UIKit. The new stuff uses the code I showed above but I'm not sure how to convert from old (UIKit) to new (SwiftUI).