~/talk

Writing Kotlin Multiplatform libraries that your iOS teammates are gonna love

Talkat Droidcon London 2023 · 2023-10-26..10-27· [kotlin]
links:none on file
slides:none on file

Explains concrete KMP-to-Swift failure modes and fixes: name clashes from flat Objective-C namespaces and overloads solved with Objective-C bridge naming and better parameter names; interfaces and inline/value classes get erased so prefer abstract classes or primitives; exceptions map to NSError only if annotated with throws; generics and sealed enums lose information; coroutines and flows require wrappers such as kmp-native-coroutines or conversion to Combine, and code generators like moko-kswift or Touchlab ease Swift wrappers. Practical examples and code patterns shown.

AI-written summary · about

  1. 0:00Introduction
  2. 1:55Why Kotlin to Swift is hard
  3. 4:22Name clashing in APIs
  4. 8:17Type mismatches explained
  5. 12:52Improving API usability
  6. 16:46Platform-specific code
  7. 17:49Handling function overloads
  8. 18:33Exception handling differences
  9. 21:44Enums and sealed classes
  10. 26:20Generics limitations
  11. 30:13Coroutines and flows
  12. 36:15Final thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.