Add UIProgressView to a custom UITableViewCell and detect what is the index row
- by Piero
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?