title: iOS: cellForRowAtIndexPath not being called immediately after numberOfRowsInSection
body: <p>I have my uitable data being populated for the current section inside <code>numberOfRowsInSection</code>. I then expect it to call <code>cellForRowAtIndexPath</code> so that I can use that data.</p>
  
  <p>In my <code>numberOfRowsInSection</code> I am overwriting the data from the previous section. Doing <code>NSLog</code> it shows that <code>numberOfRowsInSection</code> runs for all 149 sections before the first <code>cellForRowAtIndexPath</code> is called... Why? </p>
  
  <p>I have removed calls to <code>reloadData</code> since I saw it was the issue for someone else here on stack overflow but that didn't resolve the issue.</p>
  
  <p>Per Jim I am adding what I am doing.</p>
  
  <pre><code>- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
  {   
      NSMutableArray *tempArray = [NSMutableArray array];
      FMResultSet *appointmentResults = [[DataClass getDB] executeQuery:@"SELECT * FROM Appointments WHERE date = ?",[self.appointmentDates objectAtIndex:section]];
      int rowCount = 0;
      while ([appointmentResults next]) {
          [tempArray addObject:[appointmentResults resultDict]];
          rowCount++;
      }
      self.appointments = tempArray;
      NSLog(@"Appointments: %@ - %i", [self.appointmentDates objectAtIndex:section], rowCount);
      return rowCount;
  }
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      //Parse the appointments for the current section and display them
  }
  </code></pre>