Table inside UITextView

| | August 7, 2015

I’m trying to add a a table to a UITextView. In contrast to OS X, NSTextTable is not in a public, but only in a private Framework in iOS. Apple is using it itself though, so I could use it by parsing an HTML string with the NSHTMLTextDocumentType.

As I already pointed out in this answer to my own question, NSHTMLTextDocumentType is too slow and not backgroundable, which means it’s basically unusable.

Is there any other way I can work around this or any other way Apple itself is using NSTextTable inside iOS?

Leave a Reply