Making part of localised string bold swift – Ios swift
I have a string let's say " my name is %@ and i study in class %@" now I want to bold the placeholder text which i will be inserting , so that the result will look something like this:"…
I have a string let's say " my name is %@ and i study in class %@" now I want to bold the placeholder text which i will be inserting , so that the result will look something like this:"…
Here is my problem. I have a ViewController in which there is a label with a text and I want to change the color of some of the words in that sentence. The string is an NSLocalizedString which is written…
In swift to create a localized string use `NSLocalizedString(key: , value: , comment:) But in the older objective C https://developer.apple.com/documentation/foundation/nslocalizedstring There only appears to be key and comment and key appears to act as both the key and the value…