From 64f825465de9fa30c4dfe2707067efdb96110db8 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Thu, 23 Oct 2025 21:59:37 -0700 Subject: Init --- .../iosMain/kotlin/coffee/liz/abstractionengine/Platform.ios.kt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 composeApp/src/iosMain/kotlin/coffee/liz/abstractionengine/Platform.ios.kt (limited to 'composeApp/src/iosMain/kotlin/coffee/liz/abstractionengine/Platform.ios.kt') diff --git a/composeApp/src/iosMain/kotlin/coffee/liz/abstractionengine/Platform.ios.kt b/composeApp/src/iosMain/kotlin/coffee/liz/abstractionengine/Platform.ios.kt new file mode 100644 index 0000000..a6362e3 --- /dev/null +++ b/composeApp/src/iosMain/kotlin/coffee/liz/abstractionengine/Platform.ios.kt @@ -0,0 +1,9 @@ +package coffee.liz.abstractionengine + +import platform.UIKit.UIDevice + +class IOSPlatform: Platform { + override val name: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion +} + +actual fun getPlatform(): Platform = IOSPlatform() \ No newline at end of file -- cgit v1.2.3-70-g09d2