I have a string which contains HTML entities, e.g. ’ which I want to show up as '. I'm pretty new to swift, so I am not sure how I can change all HTML entities since I can't seem to find an equivalent of GTMNSString+HTML for swift.
I tried to use the solution here: How do I decode HTML entities in swift?, but it is REALLY slow, i.e. it takes very long for the strings to be ready and my page to show. I also have problems using stringByReplacingOccurrencesOfString, since there are always errors e.g. missing ) or missing ,etc.
Any advice on how to proceed? Thanks!
 
     
    