mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
introduce RKManagedObjectCache protocol to CoreData component; cleanup remaining NSFetchRequest ivars that are now unused; add RKURL class for making resourcepath and baseurl params available to higher level components; cleanup Three20 library to incorporate latest updates from GateGuru codebase
This commit is contained in:
22
Code/CoreData/RKManagedObjectCache.h
Normal file
22
Code/CoreData/RKManagedObjectCache.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* RKManagedObjectCache.h
|
||||
* RestKit
|
||||
*
|
||||
* Created by Jeff Arena on 10/15/10.
|
||||
* Copyright 2010 GateGuru. All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class used for determining the set of NSFetchRequest objects that
|
||||
* map to a given request URL.
|
||||
*/
|
||||
@protocol RKManagedObjectCache
|
||||
|
||||
/**
|
||||
* Must return an array containing NSFetchRequests for use in retrieving locally
|
||||
* cached objects associated with a given request resourcePath.
|
||||
*/
|
||||
- (NSArray*)fetchRequestsForResourcePath:(NSString*)resourcePath;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user