VMXMLParser 介绍
VMXMLParser 是 Swift 编写的 NSXMLParser 封装器。
特性:
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"; } )
VMXMLParser 官网
https://github.com/varshylmobile/VMXMLParser
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。