views:

131

answers:

1

I believe I understand how to set NSAttributedString values but how on earth do you actually display them in the interface?

examples: UILabel, UITextView, etc.

Specific instructions would be greatly appreciated/

  • Thanks!
A: 

The controls you mentioned only work with strings, not attributed strings. The only way to display them is to do a lot of work with Core Text. File a complaint with bugreporter.apple.com to request they flesh this part of UIKit out.

Joshua Nozzi
I'll be sure to file a bug report.Could you please point me in the direction of an example or tutorial of using Core Text to display an attributed string?Thanks :)
DomMaiocchi
A simple two-second search provides a few answers on this site alone: http://stackoverflow.com/questions/2446975/core-text-examples-for-iphone-ipad
Joshua Nozzi