Files
RestKit/Code/ObjectMapping/RKObjectFactory.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

24 lines
570 B
Objective-C

//
// RKObjectFactory.h
// RestKit
//
// Created by Blake Watters on 5/10/11.
// Copyright 2011 Two Toasters. All rights reserved.
//
#import "RKObjectMapping.h"
/**
Defines a protocol for the creation of objects during an
object mapping operation. Used to initialize objects that
are going to be subsequently mapped with an object mapping
*/
@protocol RKObjectFactory <NSObject>
/**
Return a new initialized, auto-released object with the specified object mapping.
*/
- (id)objectWithMapping:(RKObjectMapping*)objectMapping andData:(id)mappableData;
@end