I am creating an array of String(s) to use with the titleForFooterInSection
table view delegate method.
Each String will span over several lines and some of the words need to be emphasised.
How can I have only selected words of a string have a bold typeface?
I would like to achieve what is in this picture:
Thank you
What I did in some project is that I created an object like so:
You can of course set the font to stay same or create common styles used in your app.
Then I have and extension to pass the text with the styles
And to use you:
Maybe there is better way, but for me like this I have 3-4 common styles used in the app and can construct multiple style strings easily.
Else you can use ranges