Getting the following error: CoreData: error: Serious application error. Exception was caught during Core Data change processing. This is usually a bug within an observer of NSManagedObjectContextObjectsDidChangeNotification. no object at index 1 in section at index 0 with userInfo
The scenario is that certain changes to a tableview row requires other rows to be deleted.
It's easily reproduced as follows: 1. fetchedResultsController returns 1 section with 2 rows. tableview displays fine. 2. then do any update to the managed object at index(0,1) and then immediately delete the managed object at index(0,0)
When the frc delegate's didChangeObject method gets called with NSFetchedResultsChangeUpdate, the index is (0,1) - which doesn't exist anymore - and which then causes the error.
Is this a bug - is there a known workaround?