- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
// create a cell
UITableViewCell *cell=[[UITableViewCell alloc]
initWithStyle:UITableViewCellDefault
reuseIdentifer:@"sunny"];
//fill with contet
cell.textLabel.text=[test objectAtIndex:indexPath.row];
//return it
return cell;
// we done it baby =))
}
No comments:
Post a Comment