title: uitableview cell value not refresh according with the ones in coredata after change
body: <p>I'm building master-detail application, saying master view A(TableView), second-View(tableview) B, detail-view C. data is from core-data. In secondview(tableview), popover will prompt for cell value change when user tap specific cell. After change on popover screen, dismiss popover, it return back to secondview(tableview) and update core data accordingly. And the cell value is expected to reflect the update value. 
  The issue is that it doesn't work like that. The cell value still remains old ones, though the core data is update with the new value(I confirmed this via NSLOG in method --tableview:cellForRowAtIndexPath. It print the cell's new value, however it display the cell's old value). I tried to put table-view:reloaddata to viewwillappear and popoverControllerDidDismissPopover method, but it still doesn't work.  </p>
  
  <p>I cannot figure out it. The cell value on secondView(tableView) only get update after I return the view back to Master-View A and again switch it to Second-View B.</p>
  
  <p>However, the second View will reflect the new cell addition immediately, the addition is also via popover prompt for cell new value input.  </p>
  
  <p>Would someone please help this? Thanks.</p>
  
  <pre><code>-(void) popoverControllerDidDismissPopover:(UIPopoverController *)popoverController
  {
  
      //get text from popover based on various class type
  
     if([popoverController.contentViewController isKindOfClass:[changecellvalueViewController class]])
     {
         NSString *thenewinputcellvalue =((changecellvalueViewController *)popoverController.contentViewController).thecellvalue.text;
         NSString *oldcellvalue=((changecellvalueViewController *)popoverController.contentViewController).thecellvalueold.text;
         if (0 != [ thenewinputcellvalue length] &amp;&amp; oldcellvalue  !=  thenewinputcellvalue)     {
  
             NSManagedObjectContext *acontext =  [self.masterviewmasterController.fetchedResultsController managedObjectContext];
  
             NSManagedObject *cellTobeChanged = ((changecellvalueViewController *)popoverController.contentViewController).cellobjecttobechanged;
             [ cellTobeChanged setValue: thenewinputcellvalue forKey:@"cellvalue"];
             // Save the context.
             NSError *error = nil;
             if (![acontext save:&amp;error])
             {
                 // Replace this implementation with code to handle the error appropriately.
                 // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
                 NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
                 abort();
             }
  
  
            if (![self.masterviewmasterController.fetchedResultsController performFetch:&amp;error]) {
            // Replace this implementation with code to handle the error appropriately.
            // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
                NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
                abort();
            }
  
            [self.tableView reloadData];
          }
       }
  }
  
  
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@“cell” forIndexPath:indexPath];
  
      // Configure the cell...
      if (cell == nil)
      {
          cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:@“cell”];
      }
      NSManagedObject *celllist =  [[SELF SORTCELLS] objectAtIndex:indexPath.row];
      cell.textLabel.text =   [[celllist valueForKey:@"cellName"] description];
      NSLog(@"cell text %@", cell.textLabel.text);
      cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
  
      return cell;
  }
  </code></pre>
  
  <ul>
  <li><p>(void)viewDidLoad
  {
  [super viewDidLoad];</p>
  
  <p>// Uncomment the following line to preserve selection between presentations.
  // self.clearsSelectionOnViewWillAppear = NO;</p>
  
  <p>// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
  // self.navigationItem.rightBarButtonItem = self.editButtonItem;
  [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"Cell"];
  [self.tableView reloadData];
  }</p></li>
  </ul>