1 min readFeb 26, 2018
Great post! For my application, I slightly modified your function `func htmlAttributed(family: String?, size: CGFloat, color: UIColor) -> NSAttributedString?` to ommit the color argument. I just needed to unify the font family and size (the default, tiny Times New Roman is awful for a UILabel), but my source html has otherwise plenty of `<font color="....>` tags interspersed that I need to observe.