mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-02 17:57:22 +08:00
classes to eliminate issues with duplicated objects. closes #611, #612, #613, #618 * NSEntityDescription is now aware of the primaryKeyAttribute. Can be configured via Interface Builder within Xcode or programatically. * Added findByPrimaryKey: interface to the Core Data extensions. * Relaxed dependencies on RKManagedObjectMapping across the system now that primaryKey is available without a reference to the mapping.
20 lines
557 B
Objective-C
20 lines
557 B
Objective-C
//
|
|
// RKInMemoryManagedObjectCache.h
|
|
// RestKit
|
|
//
|
|
// Created by Jeff Arena on 1/24/12.
|
|
// Copyright (c) 2012 RestKit. All rights reserved.
|
|
//
|
|
|
|
#import "RKManagedObjectMappingCache.h"
|
|
#import "RKInMemoryEntityCache.h"
|
|
|
|
/**
|
|
Provides a fast managed object cache where-in object instances are retained in
|
|
memory to avoid hitting the Core Data persistent store. Performance is greatly
|
|
increased over fetch request based strategy at the expense of memory consumption.
|
|
*/
|
|
@interface RKInMemoryManagedObjectCache : NSObject <RKManagedObjectCacheing>
|
|
|
|
@end
|