title: Objective C - How to create rtf from NSAttributedString
body: <p>I can convert from rtf string to attributed string using following:</p>
  
  <pre><code> NSAttributedString *attributedStr = [[NSAttributedString alloc] initWithData:data options:@{NSDocumentTypeDocumentAttribute:NSRTFTextDocumentType} documentAttributes:nil error:nil];
  </code></pre>
  
  <p>Now how can i convert back from attributedString to rtf string?</p>