Michael Paus
01/13/2023, 1:31 PMLandry Norris
01/13/2023, 2:09 PMNikita Lipsky
01/13/2023, 7:33 PMI am wondering though how you do that. Is there some best practice?They all are done from the same template. First falling-balls was converted then all others were done similarly. All they use the same
iosApp.swift
as ios entry point with a reference to Main_iosKt.MainViewController().
main.ios.kt
is in iosMain
sourceSet of shared
module and declares MainViewController
like:
fun MainViewController() : UIViewController =
_Application_("Todo") *{*
MainView()
}
you can only use Android StudioAppCode also works so far.
Landry Norris
01/13/2023, 9:56 PMMichael Paus
01/14/2023, 12:05 PMLandry Norris
01/14/2023, 9:57 PM