Initializes a new attributed string object by decoding the stream of RTFD commands and data contained in the given data object.
- macOS 10.0+
The data containing the RTFD content.
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.