Implemented new search engine for managed objects.

This commit is contained in:
Blake Watters
2012-08-01 18:12:53 -04:00
parent 07aadeebdf
commit 232b3eb861
57 changed files with 1266 additions and 1039 deletions

View File

@@ -55,7 +55,6 @@
[super dealloc];
}
// TODO: Encapsulate this logic into another class...
- (id)objectForMappableContent:(id)mappableContent mapping:(RKObjectMapping *)mapping
{
NSAssert(mappableContent, @"Mappable data cannot be nil");
@@ -108,7 +107,7 @@
object = [self.managedObjectCache findInstanceOfEntity:entity
withPrimaryKeyAttribute:primaryKeyAttribute
value:primaryKeyValue
inManagedObjectContext:self.managedObjectContext];
inManagedObjectContext:self.managedObjectContext];
if (object && [self.managedObjectCache respondsToSelector:@selector(didFetchObject:)]) {
[self.managedObjectCache didFetchObject:object];