title: UITextView not showing formatted text from RTF File
body: <p>I am making an app for iOS 9.1 (using Xcode 7.1 and Swift 2.0), which contains a <code>UITextView</code> for displaying formatted text from an rtf resource file. I am calling the following function in the <code>viewDidLoad()</code> function of the view controller to load the text:</p>
  
  <pre><code>func loadTutorialText() {
      if let rtfPath = NSBundle.mainBundle().URLForResource("TutorialText", withExtension: "rtf") {
          do {
              let attributedStringWithRtf = try NSAttributedString(URL: rtfPath, options: [NSDocumentTypeDocumentAttribute : NSRTFTextDocumentType], documentAttributes: nil)
              self.textView.attributedText = attributedStringWithRtf
          } catch {
              print("Error loading text")
          }
      }
  }
  </code></pre>
  
  <p>When I run the app, the text from the <code>rtf</code> resource file is loaded but everything is displayed as plain text. Here's an example of the test <code>rtf</code> file I'm using:</p>
  
  <blockquote>
    <p><strong>Example Heading</strong></p>
    
    <p>text text text text text text text text text text text text text text
    text text text text text text text text text text text text text text
    text text text text text text text text text text text text text text
    text text text text text text text text text text text text text text
    text text text text.</p>
    
    <p><strong>Example Heading</strong></p>
    
    <p>text text text text text text text text text text text text text text
    text text text text text text text text text text text text text text
    text text text text text text text text text text text text text text
    text text text text text text text text text text text text text text
    text text text text.</p>
    
    <p><em>Bulleted List</em></p>
    
    <ul>
    <li>Item 1</li>
    <li>Item 2</li>
    <li>Item 3</li>
    </ul>
  </blockquote>
  
  <p>Are there some properties I need to set for the <code>UITextView</code> to display this properly?</p>