use `expect` and `actual` mechanism expect fun platformName(): String fun createApplicationScreenMessage() : String { return "Kotlin Rocks on ${platformName()}" }
sample project, that reflects real world usage • It should perform network operations • UI should be managed by each platform, so only logic should be shared
has an Android and iOS app both backed by a common library • Http client is not as easy to use as Retrofit • return KotlinUnit() is ダサイ... • Kotlin works anywhere and that makes it 可愛い • https://github.com/panpanini/SplatMaps-Multiplatform