Hey guys, has anyone tried to copy the resources t...
# compose-ios
l
Hey guys, has anyone tried to copy the resources to iOS to be available in info.plist? I’m interested in using a font defined in common resources in swift code [EDIT] Resolved using compose resources, putting font file into
commonMain/resources/font/nunito_regular.ttf
and adding this into Info.plist:
compose-resources/font/nunito_regular.ttf
(please not that you have to use the name of font instead of the name of the file, so in my case it was Nunito_Regular
c
Were you able to solve this @Lukas Anda ?
l
@Carlos Monzon have you seen my EDIT part?
c
🤦‍♂️ sorry @Lukas Anda Curious about your workaround. Is ‘compose-resource’ always the case for every project? Or is that a project name?
l
it is a dependency, check the official exaples at their github, such as here https://github.com/JetBrains/compose-multiplatform/tree/master/examples/imageviewer