Adrian Witaszak01/16/2023, 9:02 AM
using the Jetbrains Compose. Do you have any recommendations for using Ballast in this use case? Expect/Actuals for ViewModels?
Casey Brooks01/16/2023, 3:11 PM
and scope it to
, and keep it all in common code. The Compose desktop snippet is how you’d set it up. You’ll probably need to keep the EventHandler for each VM platform-specific, either with DI or expect/actual. More generally, best practices for using Ballast on iOS is a bit of an open question, since I changed teams at work before we could get the iOS app migrated to KMM. There’s a discussion thread on the repo if you’ve got thoughts on how you think it should be handled, or if you notice any issues with the approach outlined above.
Adrian Witaszak01/16/2023, 3:13 PM
Casey Brooks01/16/2023, 3:17 PM
Adrian Witaszak01/16/2023, 6:13 PM
Casey Brooks01/16/2023, 6:20 PM
Adrian Witaszak01/16/2023, 6:21 PM