Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.17 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.17 KB

AFKissXMLRequestOperation

AFKissXMLRequestOperation is an extension for AFNetworking that provides an interface to parse XML using KissXML

This is still in early stages of development, so proceed with caution when using this in a production application. Any bug reports, feature requests, or general feedback at this point would be greatly appreciated.

Example Usage

AFKissXMLRequestOperation *operation = [AFKissXMLRequestOperation XMLDocumentRequestOperationWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://legalindexes.indoff.com/sitemap.xml"]] success:^(NSURLRequest *request, NSHTTPURLResponse *response, DDXMLDocument *XMLDocument) {
      NSLog(@"XMLDocument: %@", XMLDocument);
  } failure:^(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error, DDXMLDocument *XMLDocument) {
      NSLog(@"Failure!");
}];

[operation start];

Contact

Mattt Thompson

License

AFKissXMLRequestOperation is available under the MIT license. See the LICENSE file for more info.