Getting started using KissXML
On Mac OS X, Apple provides the NSXML class cluster for working with XML elements (NSXMLDocument, NSXMLElement, NSXMLNode). However, they do not provide these classes on iOS. KissXML is designed to be a drop-in replacement for Apple's NSXML class cluster on iOS. (For more information, see the reference page.)
The project contains two folders within its root directory:
To use KissXML within your project, there are two steps:
The KissXML folder contains:
After adding the KissXML folder you'll need to add libxml2 to your Xcode project. There are 2 steps to this process:
You'll be adding this to your compiler instructions (at project level, not target level)
The latest versions of KissXML use ARC. If you're not using ARC in your project, learn how to properly flag the KissXML files as ARC in your Xcode project on the ARC page.