futuredapp / brmo2023-kmm-talk

Code for the "KMM: Shared Navigation -- Finding The Sweet Spot" talk presented at BrMo2023 & Betsys Mobile dev meetup 2023

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KMM: Shared Navigation - Finding the Sweet Spot

This is a sample implementation of shared navigation logic in KMM for the talk "KMM: Shared Navigation - Finding the Sweet Spot" given by @matejsemancik at Brno Mobile 2023.

This project leverages Decompose to fully share navigation logic between both Android and iOS platforms and uses SwiftUI's NavigationStack View to achieve native screen presentation on iOS.

The following cases are implemented here:

  1. Basic push and pop of the screens
  2. Support for back button callout on iOS
  3. Dialogs / Alerts
  4. Sheets with nested navigation on iOS
  5. Typesafe arguments and results

About

Code for the "KMM: Shared Navigation -- Finding The Sweet Spot" talk presented at BrMo2023 & Betsys Mobile dev meetup 2023

License:MIT License


Languages

Language:Kotlin 76.9%Language:Swift 23.1%