Skip to content

Commit

Permalink
Update Search project to reflect indexing API change
Browse files Browse the repository at this point in the history
  • Loading branch information
blakewatters committed Oct 2, 2012
1 parent af4c4f8 commit accdbe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/RKSearchExample/RKSearchExample/RKSAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
NSAssert(count != NSNotFound, @"Failed to import contacts at path '%@': %@", pathToDataFile, error);

// Index the imported objects
[managedObjectStore.searchIndexer indexChangedObjectsInManagedObjectContext:importer.managedObjectContext];
[managedObjectStore.searchIndexer indexChangedObjectsInManagedObjectContext:importer.managedObjectContext waitUntilFinished:YES];
BOOL success = [importer finishImporting:&error];
NSAssert(success, @"Failed to finish import operation: %@", error);

Expand Down

0 comments on commit accdbe6

Please sign in to comment.