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