title: Is it possible to assign different attributes to different characters in a string in UITextView?Swift 3
body: <p>I placed a large text in a UITextView In Xcode in interface builder. Is it possible to assign different attributes (colors, headings, alignments..etc) to different parts of the string. Using <code>MutableAttributedString</code> would not work for me since the string is longer than 5000 words, it would take ages to format it. </p>
  
  <p><a href="https://i.stack.imgur.com/0JYR3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0JYR3.png" alt="enter image description here"></a></p>