~/talk

Building apps using Kotlin Native

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [kotlin]
links:none on file
slides:none on file

Practical walkthrough of using Kotlin Native to share business logic across Android and iOS: compiler via LLVM produces an Objective‑C framework imported by CocoaPods using a Gradle task, Kotlinx.serialization + Ktor (iOS engine = NSURLSession) handle JSON and HTTP, SQLDelight generates SQLite code, and tests compile/run on each platform. Concurrency relies on workers, freezing and atomic references and can throw runtime capture errors. Examples include GitNotes and Yava; recommendation: expect/actual for platform APIs, Gradle → CocoaPod integration, Kotlinx.serialization for models.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:29Open source projects overview
  3. 2:34Why cross-platform technology matters
  4. 7:33Wish list for multiplatform solutions
  5. 14:43What is Kotlin Native
  6. 18:41Hello World with Kotlin Native
  7. 20:49Project structure and dependencies
  8. 23:58Expect and actual keyword abstractions
  9. 28:11Building an entire app with Kotlin Native
  10. 30:00JSON serialization with Kotlin X
  11. 32:11HTTP client with Ktor
  12. 34:20Testing multiplatform code
  13. 36:28MVP architecture implementation
  14. 38:13View and presenter contracts
  15. 40:16Interactor and database layer
  16. 41:18SQLDelight for persistence
  17. 42:23iOS integration and Xcode setup
  18. 43:04iOS view controller implementation
  19. 44:54Concurrency challenges in Kotlin Native
  20. 46:02Workers and thread safety
  21. 49:41Third-party libraries and trade-offs
  22. 50:47Kotlin Native vs Flutter comparison
  23. 51:48Summary and closing remarks
~/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.