mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-23 12:27:52 +08:00
Fixed invalid spelling RKManagedObjectCacheing -> RKManagedObjectCaching. Updated filenames to match.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#import "RKManagedObjectSeeder.h"
|
||||
#import "RKManagedObjectMapping.h"
|
||||
#import "RKManagedObjectMappingOperation.h"
|
||||
#import "RKManagedObjectMappingCache.h"
|
||||
#import "RKManagedObjectCaching.h"
|
||||
#import "RKInMemoryManagedObjectCache.h"
|
||||
#import "RKFetchRequestManagedObjectCache.h"
|
||||
#import "RKSearchableManagedObject.h"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Copyright (c) 2009-2012 RestKit. All rights reserved.
|
||||
//
|
||||
|
||||
#import "RKManagedObjectMappingCache.h"
|
||||
#import "RKManagedObjectCaching.h"
|
||||
|
||||
/**
|
||||
Provides a simple managed object cache strategy in which every request for an object
|
||||
@@ -14,6 +14,6 @@
|
||||
Performance can be disappointing for data sets with a large amount of redundant data
|
||||
being mapped and connected together, but the memory footprint stays flat.
|
||||
*/
|
||||
@interface RKFetchRequestManagedObjectCache : NSObject <RKManagedObjectCacheing>
|
||||
@interface RKFetchRequestManagedObjectCache : NSObject <RKManagedObjectCaching>
|
||||
|
||||
@end
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
*/
|
||||
- (id)initWithManagedObjectContext:(NSManagedObjectContext *)managedObjectContext;
|
||||
|
||||
/// @name Cacheing Objects by Attribute
|
||||
/// @name Caching Objects by Attribute
|
||||
|
||||
/**
|
||||
Retrieves all objects within the cache
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Copyright (c) 2009-2012 RestKit. All rights reserved.
|
||||
//
|
||||
|
||||
#import "RKManagedObjectMappingCache.h"
|
||||
#import "RKManagedObjectCaching.h"
|
||||
#import "RKInMemoryEntityCache.h"
|
||||
|
||||
/**
|
||||
@@ -14,6 +14,6 @@
|
||||
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>
|
||||
@interface RKInMemoryManagedObjectCache : NSObject <RKManagedObjectCaching>
|
||||
|
||||
@end
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// RKManagedObjectCacheing.h
|
||||
// RKManagedObjectCaching.h
|
||||
// RestKit
|
||||
//
|
||||
// Created by Jeff Arena on 1/24/12.
|
||||
@@ -9,12 +9,12 @@
|
||||
#import <CoreData/CoreData.h>
|
||||
|
||||
/**
|
||||
Objects implementing the RKManagedObjectCacheing protocol can act as the cache
|
||||
Objects implementing the RKManagedObjectCaching protocol can act as the cache
|
||||
strategy for RestKit managed object stores. The managed object cache is consulted
|
||||
when objects are retrieved from Core Data during object mapping operations and provide
|
||||
an opportunity to accelerate the mapping process by trading memory for speed.
|
||||
*/
|
||||
@protocol RKManagedObjectCacheing
|
||||
@protocol RKManagedObjectCaching
|
||||
|
||||
/**
|
||||
Retrieves a model object from the object store given a Core Data entity and
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#import <CoreData/CoreData.h>
|
||||
#import "RKManagedObjectMapping.h"
|
||||
#import "RKManagedObjectMappingCache.h"
|
||||
#import "RKManagedObjectCaching.h"
|
||||
|
||||
@class RKManagedObjectStore;
|
||||
|
||||
@@ -100,7 +100,7 @@ extern NSString* const RKManagedObjectStoreDidFailSaveNotification;
|
||||
/**
|
||||
|
||||
*/
|
||||
@property (nonatomic, retain) NSObject<RKManagedObjectCacheing> *cacheStrategy;
|
||||
@property (nonatomic, retain) NSObject<RKManagedObjectCaching> *cacheStrategy;
|
||||
|
||||
/**
|
||||
* Initialize a new managed object store with a SQLite database with the filename specified
|
||||
|
||||
Reference in New Issue
Block a user