title: How to bold some words in my UITextView using NSMutableAttributedString?
body: <p>I have a UITextView and there are certain words I'm casting with NSString stringWithFormat that I'd like to be bolded.</p>
  
  <p>I have looked around Stack Overflow and tried to follow the the postings but I guess I'm not understanding it. </p>
  
  <p>Here's what I've been playing around with:</p>
  
  <pre><code>    NSRange boldedRange = NSMakeRange(0, 4);
      NSString *boldFontName = [[UIFont fontWithName:@"Helvetica-Bold" size:100]fontName];
  
  
      NSMutableAttributedString *attrString = [[NSMutableAttributedString alloc] initWithString:self.name];
  
      [attrString beginEditing];
      [attrString addAttribute:NSFontAttributeName
                         value:boldFontName
                         range:boldedRange];
      [attrString endEditing];
  
      self.resultsTextView.attributedText = attrString;
  
  
      self.resultsTextView.text = [NSString stringWithFormat:@"One day, %@ was taking a walk and saw a %@ boy.  He was %@ a %@.", attrString, self.adjective, self.adverb, self.noun];
  </code></pre>