Files
RestKit/Code/ObjectMapping/RKObjectMappingResult.h
Blake Watters f3c0995d5e Implementation of Object Mapping 2.0 design:
* Removed RestKit from inheritance hierarchy
  * Mappings are implemented as concrete classes
  * Mapper is much more flexible & powerful
  * Much more robust error handling
  * Serialization is reimplemented as an object mapping operation
  * Added ability to serialize to JSON natively
  * Reworked Core Data integration
  * Simplified the codebase substantially
2011-06-11 19:26:56 -04:00

27 lines
506 B
Objective-C

//
// RKObjectMappingResult.h
// RestKit
//
// Created by Blake Watters on 5/7/11.
// Copyright 2011 Two Toasters. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface RKObjectMappingResult : NSObject {
id _keyPathToMappedObjects;
}
+ (RKObjectMappingResult*)mappingResultWithDictionary:(NSDictionary*)keyPathToMappedObjects;
/**
Return the mapping result as a dictionary
*/
- (NSDictionary*)asDictionary;
- (id)asObject;
- (NSArray*)asCollection;
- (NSError*)asError;
@end