AFRaptureXMLRequestOperation

AFRaptureXMLRequestOperation is an extension for AFNetworking that provides an interface to parse XML using RaptureXML.


Keywords
afnetworking, ios, objective-c, xml
License
MIT
Install
pod try AFRaptureXMLRequestOperation

Documentation

AFRaptureXMLRequestOperation

AFRaptureXMLRequestOperation is an extension for AFNetworking that provides an interface to parse XML using RaptureXML. This uses ARC.

Example Usage

AFRaptureXMLRequestOperation *operation = [AFRaptureXMLRequestOperation XMLParserRequestOperationWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://legalindexes.indoff.com/sitemap.xml"]] success:^(NSURLRequest *request, NSHTTPURLResponse *response, RXMLElement *XMLElement) {
   // Do something with XMLElement 
} failure:^(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error, RXMLElement *XMLElement) {
    // Handle Error
}];

[operation start];