TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Mar 2015 |
Maintained by Unclaimed.
Depends on: | |
AFNetworking | ~> 2.0.2 |
RaptureXML | ~> 1.0.1 |
AFRaptureXMLRequestOperation is an extension for AFNetworking that provides an interface to parse XML using RaptureXML. This uses ARC.
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];