title: How can I write NSAttributedString in rtf file?
body: <p>How can I write NSAttributedString in rtf file? i found an ancient answer <a href="https://stackoverflow.com/questions/33178895/how-can-i-save-the-attributed-string-text-into-file-swift-cocoa">How can I save the attributed string (text) into file (swift, cocoa)?</a>
  I do not quite understand what exactly is required of me, maybe new different way exists somewhere?</p>