title: Loading Data on a UITableViewCell with Custom Xib
body: <p>I created a custom cell with IB</p>
  
  <p>In my interface, I have 3 UILabels and an UIImageView.</p>
  
  <p>I wired all the outlets and then back in my controller, I have the following code</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
      static NSString* MyIndenifier = @"MyCell";
  PersonCell* cell = (PersonCell*)[tableView dequeueReusableCellWithIdentifier:MyIndenifier];
  if (cell == nil) {
      NSArray* nib = [[NSBundle mainBundle] loadNibNamed:@"PersonCell" owner:self options:nil];
      cell = (PersonCell *)[nib objectAtIndex:0];
      cell.nameLabel.text = [[mutablePeopleArray objectAtIndex:indexPath.row] getContactName];
  }
  
  return cell;
  </code></pre>
  
  <p>In my PersonCell.h I have the following in the .h file</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  
  @interface PersonCell : UITableViewCell {
  IBOutlet    UILabel*        nameLabel;
  IBOutlet    UIImageView*    thumbnailImage;
  IBOutlet    UILabel*        addressLabelStreet;
  IBOutlet    UILabel*        addressLabelCityAndStateWithZip;
  }
  
  - (void)setNameLabel:(NSString *)paramNameText;
  - (void)setThumbnailImage:(UIImage *)paramImage;
  - (void)setAddressLabel:(NSString *)paramAddress;
  
  @property (nonatomic, retain) UILabel* nameLabel;
  @property (nonatomic, retain) UILabel* addressLabelStreet;
  @property (nonatomic, retain) UILabel* addressLabelCityAndStateWithZip;
  @property (nonatomic, retain) UIImageView* thumbnailImage;
  
  @end
  </code></pre>
  
  <p>}</p>
  
  <p>I get the following errors</p>
  
  <p>PersonCell.h:28: error: setter '-thumbnailImage' argument type does not match property type
  PersonCell.h:28: error: setter '-nameLabel' argument type does not match property type
  PersonCell.h:28: error: setter '-addressLabelStreet' argument type does not match property type
  PersonCell.h:28: error: setter '-addressLabelCityAndStateWithZip' argument type does not match property type</p>