Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>here <code>IBCustomCellProjectList</code> is an example which is <code>UITableViewCell</code> with XIB just follow the logic </p> <pre><code> - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { IBCustomCellProjectList *cell = (IBCustomCellProjectList *) [tableView dequeueReusableCellWithIdentifier:nil]; // yourCustomeCell *cell = (yourCustomeCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];//custom cell // UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"IBCustomCellProjectList" owner:self options:nil]; for (id currentObject in topLevelObjects){ if ([currentObject isKindOfClass:[UITableViewCell class]]){ cell = (IBCustomCellProjectList *) currentObject; break; } } } // Configure the cell. cell.cellLabel.text = [yourTextArray objectAtIndex:i]; cell.cellImageView.image = [UIImage imageNamed:[yourImageArray objectAtIndex:i]]; cell.selectionStyle = UITableViewCellSelectionStyleNone; return cell; } </code></pre> <p>Also see this bellow tutorial..</p> <ol> <li><p><a href="http://howtomakeiphoneapps.com/how-to-design-a-custom-uitableviewcell-from-scratch/1292/" rel="nofollow">Custom cell with advance control and design</a></p></li> <li><p><a href="http://www.appcoda.com/customize-table-view-cells-for-uitableview/" rel="nofollow">http://www.appcoda.com/customize-table-view-cells-for-uitableview/</a><a href="http://www.appcoda.com/customize-table-view-cells-for-uitableview/" rel="nofollow">Customize tableview Cell</a></p></li> </ol> <p>:)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload