AFRaptureXMLRequestOperation 1.0.3

AFRaptureXMLRequestOperation 1.0.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Mar 2015

Maintained by Unclaimed.


Downloads

Total3,443
Week0
Month0

Installs

Apps34
Test Targets4
powered by Segment

GitHub

Stars32
Watchers5
Forks14
Issues2
Contributors3
Pull Requests0

Code

Files2
LOCLines of Code 113


 
Depends on:
AFNetworking~> 2.0.2
RaptureXML~> 1.0.1
 

  • By
  • Jan Sanchez

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