Moved mapping format to the resource manager header

This commit is contained in:
Blake Watters
2010-07-21 11:07:50 -04:00
parent 50bf7ab146
commit cfbfbd655f
2 changed files with 8 additions and 6 deletions

View File

@@ -9,12 +9,6 @@
#import "RKRequest.h"
// TODO: De-emphasize this and move...
typedef enum {
RKMappingFormatXML = 0,
RKMappingFormatJSON
} RKMappingFormat;
/**
* Must be implemented by all classes utilizing the RKModelMapper to map REST
* responses to domain model classes

View File

@@ -10,6 +10,14 @@
#import "RKResourceMappable.h"
#import "RKObjectPropertyInspector.h"
/**
* Define the resource mapping formats
*/
typedef enum {
RKMappingFormatXML = 0,
RKMappingFormatJSON
} RKMappingFormat;
/**
* The format parser is responsible for transforming a string
* of data into a dictionary. This allows the model mapper to