Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jansanz/afrapturexmlrequestoperation
RaptureXML support for AFNetworking's AFHTTPClient
https://github.com/jansanz/afrapturexmlrequestoperation
afnetworking ios objective-c xml
Last synced: 9 days ago
JSON representation
RaptureXML support for AFNetworking's AFHTTPClient
- Host: GitHub
- URL: https://github.com/jansanz/afrapturexmlrequestoperation
- Owner: jansanz
- License: mit
- Created: 2012-05-15T02:36:36.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-29T03:53:14.000Z (about 11 years ago)
- Last Synced: 2024-12-20T00:33:55.340Z (21 days ago)
- Topics: afnetworking, ios, objective-c, xml
- Language: Objective-C
- Size: 179 KB
- Stars: 30
- Watchers: 6
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AFRaptureXMLRequestOperation
============================AFRaptureXMLRequestOperation is an extension for [AFNetworking](http://github.com/AFNetworking/AFNetworking/) that provides an
interface to parse XML using [RaptureXML](https://github.com/ZaBlanc/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];