Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 880 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 880 Bytes

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.