NSAttributedString
-
Mechanica
Initializes and returns a
new
NSAttributedString object from thehtml
contained in the given string.Note
The HTML import mechanism is meant for implementing something like markdown (that is, text styles, colors, and so on), not for general HTML import. Apple DocumentationWarning
Using the HTML importer (NSHTMLTextDocumentType) is only possible on the main thread.