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:
Jeff Arena
2010-10-18 16:36:24 -04:00
parent 592b2a9e32
commit 1a6fdeafd4
19 changed files with 211 additions and 152 deletions

View 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