Going Multiplatform With Kotlin
by
Supriya Srivatsa
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Supriya Srivatsa
Slide 2
Slide 2 text
No content
Slide 3
Slide 3 text
No content
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
Concise
Slide 6
Slide 6 text
Concise Safe
Slide 7
Slide 7 text
Concise Safe Interoperable
Slide 8
Slide 8 text
No content
Slide 9
Slide 9 text
No content
Slide 10
Slide 10 text
No content
Slide 11
Slide 11 text
No content
Slide 12
Slide 12 text
Android iOS
Slide 13
Slide 13 text
Mac desktop application Windows desktop application
Slide 14
Slide 14 text
Backend Api
Slide 15
Slide 15 text
No content
Slide 16
Slide 16 text
No content
Slide 17
Slide 17 text
No content
Slide 18
Slide 18 text
No content
Slide 19
Slide 19 text
No content
Slide 20
Slide 20 text
No content
Slide 21
Slide 21 text
No content
Slide 22
Slide 22 text
Kotlin -> JVM Kotlin compiles to java byte code.
Slide 23
Slide 23 text
No content
Slide 24
Slide 24 text
Kotlin/Native
Slide 25
Slide 25 text
Kotlin/Native and iOS
Slide 26
Slide 26 text
Kotlin/Native and iOS • Interoperability with Swift and Objective C frameworks • Generate an Apple framework
Slide 27
Slide 27 text
No content
Slide 28
Slide 28 text
Kotlin JS • Kotlin code is transpiled to Javascript.
Slide 29
Slide 29 text
No content
Slide 30
Slide 30 text
No content
Slide 31
Slide 31 text
Backend?
Slide 32
Slide 32 text
No content
Slide 33
Slide 33 text
No content
Slide 34
Slide 34 text
No content
Slide 35
Slide 35 text
No content
Slide 36
Slide 36 text
No content
Slide 37
Slide 37 text
expect fun getUrl() actual fun getUrl()
Slide 38
Slide 38 text
No content
Slide 39
Slide 39 text
plugins { id("kotlin-multiplatform") }
Slide 40
Slide 40 text
plugins { id("kotlin-multiplatform") } targets { jvm() js() iosX64("ios") { compilations.main.outputKinds("framework") } }
Slide 41
Slide 41 text
No content
Slide 42
Slide 42 text
And More…
Slide 43
Slide 43 text
No content
Slide 44
Slide 44 text
• How much is too much? • Every platform is different • Experimental
Slide 45
Slide 45 text
@SupriyaSrivatsa /in/supriya-srivatsa