0

I'm new to iOS development. I want to create a clickable & bold text in a single sentence as described in picture below:


Example


In my picture above, every bold text should be clickable. How can I do that in Swift 3? Is there any library that supports such features?

I found this library on Cocoapods and this reference on Stackoverflow, which one would have the same result as my requirements?

Any help would be appreciated!

Community
  • 1
  • 1
user-unknown
  • 453
  • 2
  • 7
  • 22
  • Your text should open a link ? If yes, you should take a look about attribued text – Arnaud Wurmel Dec 15 '16 at 09:47
  • @ArnaudWurmel, Not for a link, but like Instagram, Path, and other socmed did (I don't know what to call it). When I mention friends on my Instagram post then my friend's name on my post will be clickable.. Thanks for your answer, I'm going to try attributed text for my app. – user-unknown Dec 15 '16 at 11:42
  • Have a look at this: http://stackoverflow.com/a/39946005/2227743 – Eric Aya Dec 15 '16 at 15:18

0 Answers0