Looking at the code changes in the latest compose-mp 1.6.0-beta01
I would like to confirm if this change: Introduce top level `composeResources` dir with `drawable`, `font`, `files`, `values/strings.xml` support should be able to help us phase out use of other resource libs like Moko Resources, at least for Compose Multiplatform.
Also, would it support Plurals (Quantity Strings)?
👀 2
k
KamilH
01/25/2024, 3:59 PM
I’m also curious about that. Would it make sense to create a
resources
(gradle) module, apply Compose there, generate resources, and use them in the Android/Desktop Compose module and SwiftUI’s iOS app? 🤔
I have the following structure:
•
presentation
- contains UI models and
Presenters
•
compose-ui
- has a dependency on
presentation
and contains shared components for Android and Desktop apps
•
ios-app
- has a dependency on
presentation
and contains SwiftUI iOS app
Would it make sense to create a
resources
module on which the
presentation
will depend?
e
Enol Simón
01/25/2024, 8:41 PM
I am interested too, it looks very promising, anybody tried it out?
m
Mofe Ejegi
01/25/2024, 8:45 PM
I see a conversation about this in this thread in the #compose channel.
That could help...