title: UITableView appearing before getting data from connectionDidFinishLoading
body: <p>I have a situation where my table is loading before getting the data from my webservice. </p>
  
  <p>When I debug it, I can see that my <code>NSMutableArray</code> has 123 objects, but it's not being reflected in the table.</p>
  
  <p>This is my <code>connectionDidFinishLoading</code> method:</p>
  
  <pre><code>-(void)connectionDidFinishLoading:(NSURLConnection *)conn{
  myData = [[NSString alloc] initWithData:xData encoding:NSUTF8StringEncoding];
  SBJsonParser *jParser =  [SBJsonParser new];
  NSError *error = nil;
  NSArray *jsonObjects = [jParser objectWithString:myData error:&amp;error];
  NSMutableArray *books = [[NSMutableArray alloc] init];
  
  for(NSDictionary *dict in jsonObjects)
  {
      Book *b = [Book new];
      b.bookName =[dict objectForKey:@"name"];
      b.published = [dict objectForKey:@"published"];
      [books addObject:b];
  
  }
  self.bookArray = books;
  [self.tableView reloadData];
  NSLog(@"myData = %@",myData);
  }
  </code></pre>
  
  <p>If I debug this I'm getting my <code>jsonObjects</code> and populating my collection. But I notice my table is still empty.</p>
  
  <p>Just to clarify this is my <code>tableView</code> method:</p>
  
  <pre><code>(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath  *)indexPath{
  ...
  Book *b = (Book *)[self.bookArray objectAtIndex:[indexPath row]];
  cell.textLabel.text = b.bookName;
  ....
  </code></pre>
  
  <p>Can anyone help me with what I'm missing? </p>