AEXMLiOS XML 解析器
AEXML 是简单,轻量级的 iOS XML 解析器,使用 Swift 编写。
AEXML 包括三个对象: AEXMLElement (base class),AEXMLDocument (inherited from previous) 和 AEXMLParser (simple wrapper around NSXMLParser)。
Read XML
<?xml version="1.0" encoding="utf-8"?> <example> <info> <name platform="iOS" language="Swift">AEXML</name> <url type="github">https://github.com/tadija/AEXML</url> </info> <features> <feature>Read XML</feature> <feature>Write XML</feature> <feature>Easy to use</feature> </features> <installation>Just drag AEXML.swift into your project and start using it.</installation> </example>
评论