Ah -- NSPresentationIntent! That looks very useful to help me identify, say, the bold ranges in order to replace that intent with a custom font. I'll try this once FB9148035 is resolved. This looks much better than the attributes used when NSAttributedString is created via HTML.
It would be even better if I could supply rendering style hints to help the rendered know how to apply various intents, though, since right now I assume UIKit must be using a hardcoded mapping of intent attribute -> styling (font etc).
Topic:
Community
SubTopic:
Apple Developers
Tags: