title: How to Insert NSAttributedString using custom keyboard extension?
body: <p>I want to write text in some custom fonts using keyboard Extension as these apps (<a href="https://itunes.apple.com/us/app/font-changer-color-keyboard/id843253960?mt=8" rel="nofollow">1</a>,<a href="https://itunes.apple.com/us/app/better-fonts-free-now-cool/id735011588?mt=8" rel="nofollow">2</a>,<a href="https://itunes.apple.com/us/app/color-fonts-keyboard-cool/id961012600?mt=8" rel="nofollow">3</a>,<a href="https://itunes.apple.com/us/app/ikeyboard-cool-fonts-keyboard/id912274664?mt=8" rel="nofollow">4</a>) are doing. I know how we can insert normal string in document proxy. </p>
  
  <pre><code>    [self.textDocumentProxy insertText:mystring];
  </code></pre>
  
  <p>I have tried to insert <code>NSAttributedString</code> using above approach but I can't see any way to insert <code>NSAttributedString</code> to document proxy.</p>
  
  <p>Some one can guide what will the best way to get rid of this issue? any suggestion will be appreciated.</p>