Upgrade to Pro — share decks privately, control downloads, hide ads and more …

iOSDC2025_ソニーのKMP/CMP挑戦記

Avatar for ソニー株式会社 ソニー株式会社
September 19, 2025
840

 iOSDC2025_ソニーのKMP/CMP挑戦記

Avatar for ソニー株式会社

ソニー株式会社

September 19, 2025
Tweet

Transcript

  1. Why

  2. expect fun randomUUID(): String import java.util.* actual fun randomUUID() =

    UUID.randomUUID().toString() import platform.Foundation.NSUUID actual fun randomUUID(): String = NSUUID().UUIDString() Common
  3. Code L A N G U AG E D I

    ST. 80 20 Multiplatform Native
  4. Try KMP/CMP if... iOS Dev → Mobile Dev Expand to

    other platforms A lot of common biz logic (>10%)
  5. Kotlin/Swift Mapping Kotlin Swift Class Class Interface Protocol Constructor Initializer

    Property Property Method Method null nil Kotlin Swift Unit Void String String List Array Set Set Map Dictionary Function type Function type