What Happened to NSAttributedString in Swift 5? Bold Doesnt work?
All the sample code i have comea cross with just does not work with bold tags anymore. This also include italic html tags. I am using the code from hacking swift as string extension. var htmlAttributedString: NSAttributedString? { if let attributedString = try? NSAttributedString(data: Data(self.utf8), options: [.documentType: NSAttributedString.DocumentType.html], documentAttributes: nil) { return attributedString } else… Read More What Happened to NSAttributedString in Swift 5? Bold Doesnt work?