1
Salut j'écris une implémentation pour gérer NSFetchResultsController
DidChangeSection mais je m'y suis cet avertissement étrangepoignée NSFetchedResultsController DidChangeSection IOS de base de données
Voici ma méthode
- (void)controller:(NSFetchedResultsController *)controller didChangeSection:(id <NSFetchedResultsSectionInfo>)sectionInfo
atIndex:(NSUInteger)sectionIndex forChangeType:(NSFetchedResultsChangeType)type
{
switch (type) {
case NSFetchedResultsChangeInsert:
[stampsTableView insertSections:[NSIndexSet indexSetWithIndex:sectionIndex] withRowAnimation:UITableViewRowAnimationFade];
break;
case NSFetchedResultsChangeDelete:
[stampsTableView deleteSections:[NSIndexSet indexSetWithIndex:sectionIndex] withRowAnimation:UITableViewRowAnimationFade];
break;
}
}
Et l'avertissement est image ci-dessous. De toute façon pour résoudre l'avertissement? Merci!