mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-06-19 18:24:12 +08:00
Cacheing -> Caching
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
|
||||
|
||||
/// @name Cacheing Objects by Attribute
|
||||
/// @name Caching Objects by Attribute
|
||||
|
||||
/**
|
||||
Caches all instances of an entity using the value for an attribute as the cache key.
|
||||
|
||||
@@ -38,7 +38,7 @@ static NSString * const RKInMemoryObjectManagedObjectCacheThreadDictionaryKey =
|
||||
}
|
||||
|
||||
if (! [entityCache isEntity:entity cachedByAttribute:entity.primaryKeyAttribute]) {
|
||||
RKLogInfo(@"Cacheing instances of Entity '%@' by primary key attribute '%@'", entity.name, entity.primaryKeyAttribute);
|
||||
RKLogInfo(@"Caching instances of Entity '%@' by primary key attribute '%@'", entity.name, entity.primaryKeyAttribute);
|
||||
[entityCache cacheObjectsForEntity:entity byAttribute:entity.primaryKeyAttribute];
|
||||
RKEntityByAttributeCache *attributeCache = [entityCache attributeCacheForEntity:entity attribute:entity.primaryKeyAttribute];
|
||||
RKLogTrace(@"Cached %d objects", [attributeCache count]);
|
||||
|
||||
Reference in New Issue
Block a user