UITableView with two custom cells (multiple identifiers)
* I’ve renamed some of your NIB/Class names for a better understanding. * First, you should register each cells’ NIB: – (void)viewDidLoad{ [super viewDidLoad]; static NSString *CellIdentifier1 = @”ContentCell”; static NSString *CellIdentifier2 = @”SpaceCell”; UINib *nib = [UINib nibWithNibName:@”CellViewNIBName” bundle:nil]; [self.tableView registerNib:nib forCellReuseIdentifier:CellIdentifier1]; nib = [UINib nibWithNibName:@”CellSpaceNIBName” bundle:nil]; [self.tableView registerNib:nib forCellReuseIdentifier:CellIdentifier2]; self.contentView.hidden = YES; [self … Read more