mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Switch default cacheStrategy to RKFetchRequestManagedObjectCache. closes #660
This commit is contained in:
@@ -136,7 +136,7 @@ static RKManagedObjectStore *defaultObjectStore = nil;
|
||||
[self createPersistentStoreCoordinator];
|
||||
self.primaryManagedObjectContext = [self newManagedObjectContext];
|
||||
|
||||
_cacheStrategy = [RKInMemoryManagedObjectCache new];
|
||||
_cacheStrategy = [RKFetchRequestManagedObjectCache new];
|
||||
|
||||
// Ensure there is a search word observer
|
||||
[RKSearchWordObserver sharedObserver];
|
||||
|
||||
Reference in New Issue
Block a user