Como negrito algumas palavras no meu UITextView usando NSMutableAttributedString?

Eu tenho um UITextView e há algumas palavras que estou transmitindo com o NSString stringWithFormat que gostaria de ser destacado em negrito.

Eu olhei em volta do Stack Overflow e tentei seguir as postagens, mas acho que não estou entendendo.

Aqui está o que eu tenho brincado:

    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];

questionAnswers(4)

yourAnswerToTheQuestion