How to fill one UItableViewCell with odd and even entries from an NSMutableArray?
Posted
by user134282
on Stack Overflow
See other posts from Stack Overflow
or by user134282
Published on 2009-11-25T13:21:09Z
Indexed on
2010/06/02
12:03 UTC
Read the original article
Hit count: 179
I have an uitableview with UITableViewCellSTyleValue1 so i have a textlabel and a detail text label.
The second thing i've got is a NSMutableArray. Now i want to fill the textLabels with the even items and the detailTextlabels with the odd entries.
So for example cell one(zero) gets entry 0 and 1 cell one gets 2 and 3 and so on.
I didn't get it working until now. :(
© Stack Overflow or respective owner