title: UITableView not reloading correctly
body: <p>I've been having this problem a lot where the table view either doesn't load the cells the first time or displays temporary labels. In both cases, when the table is loaded a second time (by another button in which I force it to reload or by going to the previous view in the app and going back to the table) everything shows up as it was supposed to. </p>
  
  <p>Im using <code>[table reloadData]</code> to reload the table in the <code>viewDidAppear:</code> method as it didn't work in the <code>viewDidAppear:</code> method and in another case I put it in a button action.</p>
  
  <p>I'm also using this method to set the label of the cell that I have placed in the storyboard:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
      {
      static NSString *cellIdentifier = @"Cell";
      UITableViewCell *cell = [contactsTableView dequeueReusableCellWithIdentifier:cellIdentifier];
  
      if (cell == nil) {
          cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellIdentifier];
      }
      UILabel *label = (UILabel *)[cell viewWithTag:1001];
      label.text = [Array3 objectAtIndex:indexPath.row];
  
      return cell;
  }
  </code></pre>
  
  <p>EDIT</p>
  
  <p>I declare the array below the implementation like:
      NSMutableArray * Array3;
  After that in the ViewDidLoad method I declare the rest of the array:
      Array3 = [NSMutableArray arrayWithObjects: nil];
  Then I load the elements in the array by calling a function within the ViewDidLoad method to fill the array with elements.</p>
  
  <p>EDIT 2
  Showing more of how I populate the array
  - (void)viewDidLoad {</p>
  
  <pre><code>[super viewDidLoad];
  Array3 = [NSMutableArray arrayWithObjects: nil];
   [self loadArray];
  
  }
  - (void) loadArray
  //populate array in here.
  // I use the add object method
  //  [Array3 addobject:object];
  {
  </code></pre>