mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-01 22:42:51 +08:00
* 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
24 lines
595 B
Objective-C
24 lines
595 B
Objective-C
//
|
|
// RKManagedObjectFactory.h
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 5/10/11.
|
|
// Copyright 2011 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import "../ObjectMapping/RKObjectFactory.h"
|
|
#import "RKManagedObjectStore.h"
|
|
|
|
/**
|
|
An object factory capable of intializing Core Data backed managed objects.
|
|
Also capable of finding existing objects that are identified by a particular
|
|
set of mappable data.
|
|
*/
|
|
@interface RKManagedObjectFactory : NSObject <RKObjectFactory> {
|
|
RKManagedObjectStore* _objectStore;
|
|
}
|
|
|
|
+ (id)objectFactoryWithObjectStore:(RKManagedObjectStore*)objectStore;
|
|
|
|
@end
|