0
我知道關於NSXMLParser,但我需要在xml文檔中使用所有數據。swift中的Xml +模式
Here我閱讀,的NSXMLParser支持的模式,我在的iOS開發新的,你能告訴我一個小例子,我怎麼能解析XML文檔與模式,像JSON文件的NSDictionary:
var jsonResult: NSDictionary = NSJSONSerialization.JSONObjectWithData(self.data, options: NSJSONReadingOptions.MutableContainers, error: nil) as NSDictionary
謝謝!