R.swift icon indicating copy to clipboard operation
R.swift copied to clipboard

Formatting only part of a string using R.string.localizable

Open nicobelo91 opened this issue 1 year ago • 1 comments

Let's say I have the following text in the Localizable.swift file: "name" = "My name is %@"; I'd like to make the part where the name would go bold, so that it would read something like "My name is Mark" whenever I use R.string.localizable.name("Mark"). Is there a way to do that using R.swift?

nicobelo91 avatar Dec 19 '23 20:12 nicobelo91