aryaxt / iOS-Rich-Text-Editor

A Rich Text Editor for iOS
Other
893 stars 158 forks source link

set html string #54

Closed siggj closed 9 years ago

siggj commented 9 years ago

Hello, Really nice library ! Can we set HTML text like uitextview.htmltext = @"bold" or something like this ? The goal is to display text in good style when i want to display it in the textview

Thanks in advance !

Deadpikle commented 9 years ago

On the List_Implementation branch, there's a setHtmlString: method that you can use. Send it an HTML-formatted NSString and it'll take care of changing it into an NSAttributedString for you.