TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | BSD |
ReleasedLast Release | Oct 2015 |
Maintained by Derek Bowen.
Simplifies working with attributed strings by allowing you to use HTML to describe formatting behaviors.
NSAttributedString+DDHTML isn't intended to support full HTML rendering. Instead it provides a quick, effient and light-weight implementation for leveraging attributed strings when utilizing native UIKit interface elements.
It is open source and covered by a standard BSD license. That means you have to mention Derek Bowen @ Deloite Digital as the original author of this code.
NSAttributedString+DDHTML requires a minimum iOS deployment target of iOS 7.0 because of:
#import "NSAttributedString+DDHTML.h"
...
NSAttributedString *attributedString = [NSAttributedString attributedStringFromHTML:@"My <b>formatted</b> string."];
...