R.swift
R.swift copied to clipboard
Formatting only part of a string using R.string.localizable
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?