feat: initial api support

This commit is contained in:
LavaDesu 2025-04-14 21:07:05 +10:00
parent ad50e700d4
commit 4dd63b7d1d
Signed by: cilly
GPG key ID: 6500251E087653C9
20 changed files with 156 additions and 62 deletions

View file

@ -0,0 +1,5 @@
package moe.lava.banksia
actual fun log(tag: String, msg: String) {
TODO("Not yet implemented")
}

View file

@ -1,9 +0,0 @@
package moe.lava.banksia
import platform.UIKit.UIDevice
class IOSPlatform: Platform {
override val name: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion
}
actual fun getPlatform(): Platform = IOSPlatform()