Quote:
Originally Posted by bigbad
if I nod wisely can I convince you that I understand that 
|
Well, when you put it
that way ...
Quote:
Code:
cell.text = [[NSString alloc] initWithFormat:@"Description %i", indexPath.row];
returns Description 0, Description 1, Description 2 etc...
how do I make the first item start from 1 instead of 0?
|
Since your integer is coming from indexPath.row, just add one to it:
Code:
cell.text = [[NSString alloc] initWithFormat:@"Description %i", indexPath.row+1];