title: ios tableView reloadRowsAtIndexPaths not working
body: <p>I have an issue where I have a <code>UITableViewController</code> and when the view appears I do some calculations asynchronously which should result in the updating of specific rows in the table. </p>
  
  <p>Inside the <code>viewWillAppear</code> function I calculate the necessary rows that need to be updated as follows:</p>
  
  <pre><code>- (void)reloadPaths:(NSMutableDictionary *)bookingsDict
  {
      NSMutableArray* indexArray = [NSMutableArray array];
      int i = 0;
      for (NSString *dateKey in self.eventsToShow) {
          NSMutableDictionary *venues = [bookingsDict objectForKey:dateKey];
          if (venues) {
              int j = 0;
              NSArray *events = [self.eventsToShow objectForKey:dateKey];
              for (DCTEvent *event in events) {
                  NSString *venueIdString = [NSString stringWithFormat:@"%@", event.eventVenueId];
                  if ([venues objectForKey:venueIdString]) {
                      NSIndexPath *indexPath = [NSIndexPath indexPathForRow:j inSection:i];
                      [indexArray addObject:indexPath];
                  }
                  j++;
              }
          }
          i++;
      }
      [self.tableView reloadRowsAtIndexPaths:indexArray withRowAnimation:UITableViewRowAnimationFade];
  }
  </code></pre>
  
  <p>However I notice that the <code>cellForRowAtIndexPath</code> function is never called after and the cells do not get updated correctly. Any idea what the issue might be?</p>
  
  <p>EDIT: I just noticed that if I scroll out of the view of the cell that is supposed to get updated then it gets updated when I scroll back into view. Is there no way to have it update while in view?</p>