title: bold part of string in UITextView swift
body: <p>Here is the text:</p>
  
  <pre><code>@IBOutlet weak var legalText: UITextView!
  let textToAppend = "TERMS OF SERVICE\nLast Updated: May 7, 2015\n\nPLEASE NOTE: The HIGO Terms of Service as stated below is effective as of the 'Last Updated' date above for any user who is browsing the HIGO website, or for any user who creates a HIGO account on or after that date."
  legalText.text = legalText.text.stringByAppendingString(textToAppend)
  </code></pre>
  
  <p>i want to bold "TERMS OF SERVICE" and "PLEASE NOTE: The HIGO Terms of Service as stated below is effective as of the 'Last Updated' date above for any user who is browsing the HIGO website, or for any user who creates a HIGO account on or after that date."</p>
  
  <p>i try with use uilabel programmatically in uitextview but did not work :</p>
  
  <pre><code>var termsofservice : UILabel = UILabel()
  termsofservice.numberOfLines = 0
  termsofservice.text = "TERMS OF SERVICE"
  termsofservice.font = UIFont.boldSystemFontOfSize(20)
  termsofservice.textAlignment = NSTextAlignment.Left;
  
  var pleasenote : UILabel = UILabel()
  pleasenote.numberOfLines = 0
  pleasenote.text = "PLEASE NOTE: The HIGO Terms of Service as stated below is effective as of the 'Last Updated' date above for any user who is browsing the HIGO website, or for any user who creates a HIGO account on or after that date."
  pleasenote.font = UIFont.boldSystemFontOfSize(20)
  pleasenote.textAlignment = NSTextAlignment.Left;
  
  let textToAppend = "\(termsofservice)\nLast Updated: May 7, 2015\n\n\(pleasenote)"
  </code></pre>
  
  <p>also try with these but did not work, it only show "TERMS OF SERVICE" and "last update..", did not show "PLEASE NOTE..."</p>
  
  <pre><code>var termsofservice = "TERMS OF SERVICE"
  var normalText = "\n\nLast Updated: May 7, 2015"
  var pleasenote  = "\n\nPLEASE NOTE: The HIGO Terms of Service as stated below is effective as of the 'Last Updated' date above for any user who is browsing the HIGO website, or for any user who creates a HIGO account on or after that date."
  
  var attributedString = NSMutableAttributedString(string:normalText)
  
  var attrs = [NSFontAttributeName : UIFont.boldSystemFontOfSize(15)]
  var boldString = NSMutableAttributedString(string:pleasenote, attributes:attrs)
  var boldString0 = NSMutableAttributedString(string:termsofservice, attributes:attrs)
  
  boldString0.appendAttributedString(attributedString)
  attributedString.appendAttributedString(boldString)
  legalText.attributedText = boldString0
  </code></pre>
  
  <p>How to bold that part of string?</p>
  
  <p>Note:the text is still long and have more part of string to bold.</p>