title: How to Display different colors and font types in a UILabel
body: <p>I have a String Like,</p>
  
  <pre><code>NSSting *myString=@"First Second Third Fourth Fifth Sixth Seventh";
  </code></pre>
  
  <p>I want to display this string in single label with different font types and colors.</p>
  
  <p>i.e..,</p>
  
  <p>"First" string should be in Bold.</p>
  
  <p>"Second" string should be in italic.</p>
  
  <p>"Third" string should be in red color.</p>
  
  <p>"Fourth" string should be in green color.</p>
  
  <p>"Fifth" string should be in Bold Italic of System font.</p>
  
  <p>"Sixth" String should be arial bold.</p>
  
  <p>"Seventh" String should be arial bold of size 34.</p>
  
  <p>I have gone through some of the answers in stackoverflow, but i didn't get any clarity in those answers..</p>
  
  <p>Can any one provide some guidelines.</p>
  
  <p>Thanks in Advance.</p>
  
  <p><strong>Solution</strong> : Firstly manipulate <code>NSAttributedString</code> according to your requirement.</p>
  
  <p>using <code>NSAttributedString</code> u can do it in <code>iOS 6 UILabel</code> has <code>attributedString property</code>. </p>
  
  <p><code>Below ios 6.0</code> use <a href="https://github.com/mattt/TTTAttributedLabel" rel="nofollow">TTAtributeLabel</a> or any <code>third party attributedLabel</code>  for <code>displaying attributedString</code>.</p>