-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Fruitties ViewModel on iOS (#34)
* Require iOS 17 * Create IOSViewModelOwner in native source set * Instantiate IOSViewModelOwner in iOSApp.swift * Add helper function MainViewModel.newCreationExtras() * Instantiate MainViewModel in IOSViewModelOwner * collect() KMP StateFlow to State with SKIE preview API * https://skie.touchlab.co/features/flows-in-swiftui * Delete UIModel and use ViewModel directly * Cart calculates total items, not number of distinct items * Simplify Fruitties UI to match Android & iOS * Android edge-to-edge: Use contentWindowInsets to allow drawing to Bottom edge * Android: Use CenterAlignedTopAppBar in Scaffold
- Loading branch information
Showing
15 changed files
with
185 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.