Iphone: CustomCell, can't set data
I try to make a custom cell with a Uilabel and textfield

And i get this:

-> http://data.imagup.com/9/1119535256.png

But it's not given given my value ("Titre" & "Valeur" are generic):

    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    
	static NSString *CellIdentifier = @"InscriptionCustomCell";
	
    InscriptionCustomCell *cell = (InscriptionCustomCell *) [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
		
		NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"InscriptionCustomCell" owner:self options:nil];
		
		for (id currentObject in topLevelObjects){
			if ([currentObject isKindOfClass:[UITableViewCell class]]){
				cell =  (InscriptionCustomCell *) currentObject;
				break;
			}
		}
	}
	cell.selectionStyle = UITableViewCellSelectionStyleNone;
	
	if(indexPath.section ==0)
	{
		[cell.titreCell setText:[model.listModuleInfoPerso objectAtIndex:indexPath.row]];
		[cell.contenuCell setPlaceholder:[model.listModuleInfoPerso objectAtIndex:indexPath.row]];
	}else {
		[cell.titreCell setText:[model.listModuleInfoSupp objectAtIndex:indexPath.row]];
		[cell.contenuCell setPlaceholder:[model.listModuleInfoSupp objectAtIndex:indexPath.row]];
	}
    return cell;
}

No error :S, an idea?


  [1]: http://i.stack.imgur.com/hvT5x.png
Iphone: CustomCell, can't set data
===

I try to make a custom cell with a Uilabel and textfield

And i get this:

-> http://data.imagup.com/9/1119535256.png

But it's not given given my value ("Titre" & "Valeur" are generic):

    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    
	static NSString *CellIdentifier = @"InscriptionCustomCell";
	
    InscriptionCustomCell *cell = (InscriptionCustomCell *) [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
		
		NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"InscriptionCustomCell" owner:self options:nil];
		
		for (id currentObject in topLevelObjects){
			if ([currentObject isKindOfClass:[UITableViewCell class]]){
				cell =  (InscriptionCustomCell *) currentObject;
				break;
			}
		}
	}
	cell.selectionStyle = UITableViewCellSelectionStyleNone;
	
	if(indexPath.section ==0)
	{
		[cell.titreCell setText:[model.listModuleInfoPerso objectAtIndex:indexPath.row]];
		[cell.contenuCell setPlaceholder:[model.listModuleInfoPerso objectAtIndex:indexPath.row]];
	}else {
		[cell.titreCell setText:[model.listModuleInfoSupp objectAtIndex:indexPath.row]];
		[cell.contenuCell setPlaceholder:[model.listModuleInfoSupp objectAtIndex:indexPath.row]];
	}
    return cell;
}

No error :S, an idea?


  [1]: http://i.stack.imgur.com/hvT5x.png