title: tableview delegate method never called
body: <p>I have a viewcontroller, and implement the delegate UITableViewDelegate and UITableViewDataSource, so I have following method:</p>
  
  <pre><code>- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{ 
      return [_nameArray count];
  }
  - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
      return 50;
  }
  - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
  {
      return @"name";
  }
  - (UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ 
     static NSString *TableIdentifier = @"TableIdentifier";
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:TableIdentifier];
      if (cell == nil) {
          cell = [[[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:TableIdentifier]autorelease];
      }
      UILabel *nameLabel = [[UILabel alloc] init];
      nameLabel.textAlignment = UITextAlignmentLeft;    
      nameLabel.text = @"100";
      nameLabel.backgroundColor = [UIColor blackColor];
      nameLabel.textColor = [UIColor yellowColor];
      [cell.contentView addSubview:nameLabel];
      [nameLabel release];
      return cell;
  }
  </code></pre>
  
  <p>I set a breakpoint for each method, I can find </p>
  
  <p><code>- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath</code></p>
  
  <p>and</p>
  
  <p><code>- (UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath</code></p>
  
  <p>never called,but the other two methods can be called. so what's the problem? thank you.</p>
  
  <p>update:</p>
  
  <p>I have connect datasoucre and delegate to file's owner in IB,but can't solve the problem.</p>