new: init kmp project

This commit is contained in:
Antoine Jaury committed 2026-07-07 21:59:20 +02:00
commit af66fd04e5
63 files changed
+5080

No files matched your search

@@ -0,0 +1,5 @@
package fr.ajaury.gwenedeg
import androidx.compose.ui.window.ComposeUIViewController
fun MainViewController() = ComposeUIViewController { App() }
@@ -0,0 +1,9 @@
package fr.ajaury.gwenedeg
import platform.UIKit.UIDevice
class IOSPlatform: Platform {
override val name: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion
}
actual fun getPlatform(): Platform = IOSPlatform()