0

How to split a string "5 + Bonus Ball" like:

enter image description here

I'll be assigning this attributed string to label.

Hitesh Savaliya
  • 1,336
  • 13
  • 15

1 Answers1

0

OHAttributedLabel is in my opinion the best tool to fit this kind of attributed strings in labels. https://github.com/AliSoftware/OHAttributedLabel#sample-code--other-documentation

Dimitris Bouzikas
  • 4,461
  • 3
  • 25
  • 33