talira

Simple, lightweight XML reading and writing in Swift

open sourceMITfree

AEXML is a small Swift library for casual XML handling on iOS, macOS, tvOS and watchOS: it reads XML data into a document you walk by element name and attributes, and writes XML strings. Its author says it isn't a robust full-featured parser.

Problems it solves

  • parse a small XML response in my iOS app without a heavy library
  • build an XML string in Swift
  • read attributes and child elements from XML in Swift

Features

  • read XML data into an element tree
  • write XML strings
  • CocoaPods and Swift Package Manager

Limitations

  • Its author says it's not a robust, full-featured XML parser but a lightweight utility for casual XML handling.1