title: How to make bold font NSString value?
body: <p>In my iOS application, how can I make bold font in NSString value? I used below code for making bold font text in NSString value, but showing error</p>
  
  <p>like this:</p>
  
  <blockquote>
    <p>Undefined symbols for architecture i386:
      "_kCIAttributeName",</p>
  </blockquote>
  
  <pre><code>NSString *boldFontName = [[UIFont boldSystemFontOfSize:12] fontName];
  NSString *yourString = [NSString stringWithFormat:@"%@%@%@",key,@":",@" "];
  NSRange boldedRange = NSMakeRange(22, 4);
  
  NSMutableAttributedString *attrString = [[NSMutableAttributedString alloc] initWithString:yourString];
  
  [attrString beginEditing];
  [attrString addAttribute:kCIAttributeName value:boldFontName range:boldedRange];
  
  [attrString endEditing];
  
  NSString *string = [NSString stringWithFormat:@"%@%@",attrString,[dic objectForKey:key]];
  </code></pre>
  
  <p>How do I make bold font in string?</p>