title: Two colors for UILabel TEXT
body: <p>I want to set two colors for <code>UILabel's</code> text. I tried <code>TTTRegexAttributedLabel</code>, but it is throwing unknown type error. </p>
  
  <p>I tried following code too. But it is crashing at settext.</p>
  
  <pre><code> NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:@"Hello. That is a test attributed string."];
      [str addAttribute: @"Hello" value:[UIColor yellowColor] range:NSMakeRange(3,5)];
      [str addAttribute:@"That" value:[UIColor greenColor] range:NSMakeRange(10,7)];
      [str addAttribute:@"Hello" value:[UIFont fontWithName:@"HelveticaNeue-Bold" size:20.0] range:NSMakeRange(20, 10)];
  
  [syncStatusLabel setText:(NSString *)str];
  </code></pre>
  
  <p>Is there any other way to set multiple colors for single UILabel text?</p>