objective c - iOS: Faster way to format html text to attributed text? -


i have method format html text attributed text following. however, method painfully slow. there way achieve faster?

self.textlbl.attributedtext = [[nsattributedstring alloc] initwithdata:    [html datausingencoding:nsunicodestringencoding]                                                                               options:@{     nsdocumenttypedocumentattribute: nshtmltextdocumenttype                                                                                          } documentattributes:nil error:nil]; 


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -