Skip to content

clinseman/AFKissXMLRequestOperation

 
 

Repository files navigation

AFKissXMLRequestOperation

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

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.

About

AFNetworking Extension for KissXML

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 100.0%