RaptureXML support for AFNetworking's AFHTTPClient
Objective-C Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AFRaptureXMLRequestOperation
Example
.gitignore
AFRaptureXMLRequestOperation.podspec
LICENSE
README.md

README.md

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];