Does someone know how to load resource in iosMain ...
# multiplatform
w
Does someone know how to load resource in iosMain and macosMain without compose.component.resource. just KMP🙇
d
w
I am contributing to compose-multiplatform-core, now I should add code to sample, but I don't know is it allowed to add moko-resources in it.
😅 1
d
There is also this one: https://github.com/Skeptick/libres From the legal point, if it's according to CLA, then it should be allowed. https://www.jetbrains.com/legal/docs/agreements/cla/ But you can ask JB developers directly if they don't want to mention 3rd party libraries (usually it's not the case)
❤️ 1
a
Through moko-resources you can access the resources inside iOS/macOS, on the other side, compose-resources also works like a charm, and I preferred to use JB apis rather than the third party as we are not quite sure when they will end the support.
👍 2
d
I totally agree, but the question was about APIs other than Compose Resources. AFAIK there were some plans to provide resources via klibs, but JB is currently working on uklib format, so I don't know if it is planned.
👍 2