Add UIProgressView to a custom UITableViewCell and detect what is the index row
Posted
by
Piero
on Stack Overflow
See other posts from Stack Overflow
or by Piero
Published on 2012-03-25T22:31:33Z
Indexed on
2012/03/25
23:29 UTC
Read the original article
Hit count: 873
i create a custom UITableViewCell and i add on the Cell a UIProgressView, because when i add a row on the UITableView i download the information from a XML data, and i want use the ProgressView to show the progress of the process, my question is, how i can detect in what index row i have to change the progress bar, and then hidden it?...what is the index path of the row just created?
in the:
cellForRowAtIndexPath:(NSIndexPath *)indexPath
i retrieve information from my Custom UITableViewCell in this way:
UILabel *label;
label = (UILabel *)[cell viewWithTag:1000];
label.text = [[managedObject valueForKey:@"firstName"] description];
so how i can know the index path row of the row just added, to change then the progress bar?
© Stack Overflow or respective owner