HTML character decoding in Objective-C / Cocoa Touch

后端 未结 13 2112
我寻月下人不归
我寻月下人不归 2020-11-22 10:24

First of all, I found this: Objective C HTML escape/unescape, but it doesn\'t work for me.

My encoded characters (come from a RSS feed, btw) look like this: &a

13条回答
  •  遥遥无期
    2020-11-22 11:03

    Actually the great MWFeedParser framework of Michael Waterfall (referred to his answer) has been forked by rmchaara who has update it with ARC support!

    You can find it in Github here

    It really works great, I used stringByDecodingHTMLEntities method and works flawlessly.

提交回复
热议问题