Latest 1.0.0
Homepage https://github.com/siuying/IGXMLReader
License MIT
Platforms ios 6.0, osx 10.8, requires ARC
Authors

[CI Status](https://travis-ci.org/Francis Chong/IGXMLReader)
Version
License
Platform

The IGXMLReader allows you to effectively pull parse an XML document. Once instantiated, call #nextObject to iterate over each node. Note that you may only iterate over the document once!

IGXMLReader parses an XML document similar to the way a cursor would move. The Reader is given an XML document, and return a node (an IGXMLReader object) to each calls to nextObject.

IGXMLReader* reader = [[IGXMLReader alloc] initWithXMLString:@"<x xmlns:edi='http://ecommerce.example.org/schema'>
                      <edi:foo>hello</edi:foo>
                      </x>"];
for (IGXMLReader* node in reader) {
    NSLog(@"node name: %@", node.name);
}

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

IGXMLReader is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "IGXMLReader"

Author

Francis Chong, [email protected]

License

IGXMLReader is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "IGXMLReader",
    "version": "1.0.0",
    "summary": " A XML Pull Parser based on libxml for Objective-C.",
    "homepage": "https://github.com/siuying/IGXMLReader",
    "license": "MIT",
    "authors": {
        "Francis Chong": "[email protected]"
    },
    "source": {
        "git": "https://github.com/siuying/IGXMLReader.git",
        "tag": "1.0.0"
    },
    "social_media_url": "https://twitter.com/siuying",
    "platforms": {
        "ios": "6.0",
        "osx": "10.8"
    },
    "requires_arc": true,
    "libraries": "xml2",
    "xcconfig": {
        "HEADER_SEARCH_PATHS": "$(SDKROOT)/usr/include/libxml2"
    },
    "source_files": "Pod/Classes/**/*"
}

Pin It on Pinterest

Share This