NSFile object that contains an RTFD document corresponding to the characters and attributes within the given range.
- macOS 10.0+
A required dictionary specifying the document attributes. The dictionary contains values from Document Types and must at least contain
Type Document Attribute
A file wrapper containing the RTFD data.
The file wrapper also includes the document-level attributes in
doc, as explained in RTF Files and Attributed Strings.
NSRange if any part of
a lies beyond the end of the receiver’s characters.