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
谢谢!