Hi, does anyone know if you can share font files (...
# multiplatform
a
Hi, does anyone know if you can share font files (Swiftui in ios and compose in android and desktop)
Wondering more about the swiftui part
z
Maybe https://github.com/icerockdev/moko-resources It says it supports fonts
a
With Kotlin 2.0 you have the ability to put your resources in
common
-> https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-images-resources.html
a
Yes I am aware of this, but this is for CMP, question is how do you share them into xcode as well
to use them with swiftui
h
the generated resources can be read as a suspending function outside of Compose, so you can use the common ways that are available to do that ATM
a