Questions tagged [nsattributedstringkey]
32 questions
-1
votes
1 answer
How to have selected words in UITableView footer in bold typeface in Swift?
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…

NotationMaster
- 390
- 3
- 17
-1
votes
1 answer
Type 'NSAttributedStringKey' (aka 'NSString') has no member 'baselineOffset'
I am using NSAttributedStringKey in Swift 4. While compiling with Swift 3 I am getting this error. What is the equivalent of baselineOffset property in Swift 3.

Sarath Kumar Rajendran
- 386
- 3
- 14