VMXMLParser (Swift)

MIT License
Swift
iOS

1 image

Author

Description

VMXMLParser is a NSXMLParser wrapper in Swift

Features:

1) Closure based

2) Response as array of dictionaries

3) Unicode support

4) Just two lines and you are done :)

SAMPLE CODE:

var url:String="http://www.varshylmobile.com/projects-1/iOS/sample1.xml"

VMXMLParser.initParserWithURLString(url, completionHandler: {

    (tags, error) -> Void in

    if(error != nil){

        println(error)

    }else{

        println(tags!)

    }

    })

Tags