In a KMP project, is it possible to use Compose new resources system to share resources between Android, Desktop and iOS apps, even if the UI for the iOS app use SwiftUI?
👀 3
yes black 2
a
Arsildo Murati
06/05/2024, 3:09 PM
Yes you can, you can share even small bits of ui if you want
Arsildo Murati
06/05/2024, 3:09 PM
Using UIKit
d
David Nedrow
06/13/2024, 4:16 PM
Hmm, that means then that vector resources are presented to Swift as SVGs? On Android, they use drawables, which can't be used in iOS.
b
Benjamin Deroche
07/01/2024, 12:10 PM
@Arsildo Murati How do I load Compose Resources strings from SwiftUI code then? I can't find a way to make this works.