A RestKit serialization format implementation for XML using XMLReader.
Objective-C Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
RKXMLReaderSerialization.h
RKXMLReaderSerialization.m
RKXMLReaderSerialization.podspec

README.md

RKXMLReaderSerialization

A RestKit XML serialization implementation using the XMLReader class.

Installation

Install via Cocoapods or add the source files to your project. If you are installing directly from source, you will also need to obtain a copy of XMLReader from https://github.com/RestKit/XML-to-NSDictionary.

Once installed, register the serialization in your app delegate (or wherever you handle RestKit setup):

#import "RKXMLReaderSerialization.h"

[RKMIMETypeSerialization registerClass:[RKXMLReaderSerialization class] forMIMEType:@"application/xml"];

Note that you may register the class for more than one MIME Type or use an NSRegularExpression that matches the MIME Type that you wish to register. For more details, review the API Documentation.