VMXMLParser 是 Swift 编写的 NSXMLParser 封装器。
特性:
1) 基于 Closure 2) 像字典数组一样响应 3) 支持 Unicode
1) 基于 Closure
2) 像字典数组一样响应
3) 支持 Unicode
简单的响应:
( { description = "Does this parser work ?"; id = 1; location = India; name = "Jimmy Jose the swifter"; }, { description = "Running out of words now"; id = 2; location = USA; name = "Jimmy Jose the objector"; }, { description = "Jimmy Jose Varshyl Mobile"; id = 3; location = USA; name = "Varshyl Mobile"; }, { description = "Need to have better example next time"; id = 4; location = Delhi; name = Varshyl; }, { description = "I should have downloaded some sample xml file"; id = 5; location = Australia; name = "Varshyl Mobile XML Parser"; } )