title: Can I set the `attributedText` property of `UILabel`
body: <p>Can I set the <code>attributedText</code> property of a <code>UILabel</code> object? I tried the below code:</p>
  
  <pre><code>UILabel *label = [[UILabel alloc] init];
  label.attributedText = @"asdf";
  </code></pre>
  
  <p>But it gives this error:</p>
  
  <blockquote>
    <p>Property "attributedText" not found on object of type 'UILabel *'</p>
  </blockquote>
  
  <p><code>#import &lt;CoreText/CoreText.h&gt;</code> not working</p>