If you are using CoreData, most likely you need to be informed of changes to your table when you have either uploaded or deleted data.
The best way is to use this callback to update the table. Sample code below:
- (void)controllerDidChangeContent:(NSFetchedResultsController *)controller {
// The fetch controller has sent all current change notifications, so tell the table view to process all updates.
// reload the list of region
NSMutableArray *array = [[NSMutableArray alloc] initWithCapacity:0];
[array addObject:@"All"];
NSEnumerator *region = [[fetchedResultsController sections] objectEnumerator];
id <NSFetchedResultsSectionInfo> sectionInfo;
while (sectionInfo = [region nextObject]) {
[array addObject:[sectionInfo name]];
}
wineRegionList = array;
wineRegionIndex = 0;
// reset region to default value
regionVC.wineRegionList = wineRegionList;
regionVC.wineRegionIndex = wineRegionIndex;
[regionVC.tableView reloadData];
[array release];
}

