Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <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>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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