如何快速地解码HTML实体?
The Weeknd ‘King Of The Fall’ [Video Premiere] | @TheWeeknd | #SoPhi
‘
import UIKitvar error: NSError?let blogUrl: NSURL = NSURL.URLWithString(" let jsonData = NSData(contentsOfURL: blogUrl)let dataDictionary = NSJSONSerialization.JSONObjectWithData(jsonData, options: nil, error: &error) as NSDictionaryvar a = dataDictionary["posts"] as NSArrayprintln(a[0]["title"])