DTCoreText
Methods to allow using HTML code with CoreText
DTCoreText renders HTML into Core Text–backed attributed text on iOS, providing fine control over typography and inline content. It parses a practical subset of HTML/CSS and maps elements to attributed strings, handling fonts, colors, paragraph styles, lists, links, and embedded images or attachments. The layout engine uses Core Text framesetting to produce high-quality text rendering, including proper line breaking, kerning, and ligatures. Developers can plug in custom URL handlers,...