Join Slack
Powered by
There is now official support for Jetpack View Mod...
# multiplatform
p
Philipp
07/23/2024, 2:40 PM
There is now official support for Jetpack View Model for KMP. Does anyone have an example of how to use it with SwiftUI? I only see examples with Compose Multiplatform.
❤️ 1
r
Richard Woollcott
07/23/2024, 4:01 PM
Hi, I wrote a blog post about this with a demo app
https://appmilla.com/latest/getting-started-with-jetpack-viewmodels-and-datastore-in-kotlin-multiplatform/
and a related one
https://appmilla.com/latest/harnessing-the-power-of-kotlin-multiplatform-combining-native-and-shared-uis/
The FantasyPremierLeague sample app is a more complete example see
https://github.com/joreilly/FantasyPremierLeague/tree/main/ios/FantasyPremierLeague/FantasyPremierLeague
p
Philipp
07/24/2024, 6:39 AM
thx helps a lot.
👍 1
5
Views
Open in Slack
Previous
Next