I have customized uitableviewcell, which has two uitextfields. I have inputted some data into cells. However, the data is removed when I scroll down the tableview. I know this happens due to the cell is recreated. How can I keep those inputted data? Here is the code
valueTableViewCell*cell=[[valueTableViewCell alloc]init];
NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"valueTableViewCell" owner:cell options:nil];
cell = [nib objectAtIndex:0];
return cell;