Initializes and returns a new attributed string object from HTML contained in the given data object.
- macOS 10.3+
The data in HTML format from which to create the attributed string.
Specifies how the document should be loaded. Contains values described in Option keys for importing documents.
An in-out dictionary containing document-level attributes described in Document Attributes. May be
NULL, in which case no document attributes are returned.
Returns an initialized object, or
nil if the data can’t be decoded.