title: iOS: how to change colour/font of some characters of a string
body: <p>in my app i have to change the font of a part of <strong><code>string</code></strong> which comes from <code>JSON</code> response </p>
  
  <pre><code>&gt; "&lt;span class=\"drop_data_user\"&gt;Andrew James&lt;/span&gt; liked your comment
  &gt; \"hiiiiiiiiiiiiiii\" that you posted."
  </code></pre>
  
  <p>to convert it in attributed string i am using the following code</p>
  
  <pre><code>NSAttributedString *attr = [[NSAttributedString alloc] initWithData:[NotificationTxt dataUsingEncoding:NSUTF8StringEncoding]
                                                                  options:@{NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType,
                                                                            NSCharacterEncodingDocumentAttribute:@(NSUTF8StringEncoding)}
                                                       documentAttributes:nil
                                                                    error:nil];
  </code></pre>
  
  <p>I want to change the font colour of the sender</p>