Is it possible to change the color of a UITextView in a specific range or a specific word? If a word appears more than once in a view, change the color of that word.
I am solving a problem. I subclassed UILable and UITextView using body text (CATextLayer) as a layer on the label / text view, and NSAttributedString will store all font and color information
NSAttributedString. AliSoftware OHAttributedLabel, UILabel NSAttributedString . , .
NSAttributedString