9 lines
265 B
Kotlin
9 lines
265 B
Kotlin
|
|
package dev.carlosmartino.triplogic
|
||
|
|
|
||
|
|
import platform.UIKit.UIDevice
|
||
|
|
|
||
|
|
class IOSPlatform: Platform {
|
||
|
|
override val name: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion
|
||
|
|
}
|
||
|
|
|
||
|
|
actual fun getPlatform(): Platform = IOSPlatform()
|