title: showing html content in TextView efficiently
body: <p>I'm using this way and it works fine, but has a slowness fallback because of the usage of NSHTMLTextDocumentType as i did my research</p>
  
  <pre><code>do {
  
      let attributedOptions:[String: Any] = [
          NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType,
          NSCharacterEncodingDocumentAttribute: String.Encoding.utf8.rawValue]
  
      let date = html.data(using: String.Encoding.utf8, allowLossyConversion: true)!
  
      return try NSAttributedString(data: data, options: attributedOptions , documentAttributes: nil)
  
  } catch let error as NSError {
  
      print("htmo2String \(error)")
  }
  </code></pre>
  
  <p>any ideas how to do it faster or another efficient way to do it!</p>