title: Using Multiple UITableViewCells for one tableView
body: <p>I am unsure if I'm setting up the UITableView the right way when using multiple custom cell views. I seem to have my table working however, i think the reuse of cells makes the first cells you see once you load the view the same size as the very first cell which should be the only cell thats double in size. Once I scroll passed them and back up they go to the size thats set for them. </p>
  
  <p>Is there a right way of doing this? I've looked through other forms and tried their ways but this is the closed I've gotten it to work with just that one flaw. </p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 
  {    
      static NSString *CellIdentifier1 = @"profileCell";
      static NSString *CellIdentifier2 = @"profileCells";
  
      if (indexPath.section == 0) {
          PFProfileTableCellView * cell = (PFProfileTableCellView *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier1];
  
          //only one row in this section
          return cell;
  
      } else{
          PFWallPostTableViewCell * cell = (PFWallPostTableViewCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier2];
  
  
          return cell;
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/ASSb5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ASSb5.png" alt="Last cell is the right size"></a></p>