Hi @everyone :slightly_smiling_face: I am working ...
# compose-ios
m
Hi @everyone 🙂 I am working on my master-thesis about kmm (exploring the possibilities of sharing ui and logic). I would like to use the compose-ui for ios targeting but I have no idea how to implement the DI and ViewModel? Hope somebody could help me to find a Solution 🙂
✅ 1
b
Kodein has support for iOS KMM Compose - https://github.com/kosi-libs/Kodein
r
Another option for view models is #ballast.
m
Voyager also has a ViewModel implementation for its navigation https://voyager.adriel.cafe/screenmodel
a
Also, check out Decompose (navigation, View Models, etc) - https://github.com/arkivanov/Decompose It supports Compose for iOS, and it's also possible to preserve the state over process death on iOS (experimental).
a
@Magdalena Tsolaki You can check this repository, I used Compose Multiplatform targeting Android, iOS, and desktop. Koin for DI. Decompose, PrecOmpose for ViewModel support. https://github.com/ahmadhassan5/MyNote