Initializes and returns a new
NSAttributed object from HTML contained in the given data object.
- macOS 10.0+
The data in HTML format from which to create the attributed string.
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.