A RestKit XML serialization implementation using the XMLReader class.
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.