UIManagedDocument with NSFetchedResultsController and background context
问题 I am trying to get the following working. I have a table view that is displaying data fetched from an API in a table view. For that purpose I am using a NSFetchedResultsController: self.fetchedResultsController = [[NSFetchedResultsController alloc] initWithFetchRequest:request managedObjectContext:self.database.managedObjectContext sectionNameKeyPath:nil cacheName:nil]; I create my entities in a background context like this: NSManagedObjectContext *backgroundContext; backgroundContext = [