title: UITableView with custom cell has two buttons and two labels
body: <p>I am new for iphone app Development. i am suffering from this problem since two weeks.</p>
  <p>I created uitableview with searchbar in uiviewcontroller class in xib.Here i am displaying table view with custom cell.In custom cell i created uistepper, three labels and a image in xib. here i am displaying image and a label to display profile image and text from dictionary.
  the stepper for + and - functionality in custom cell.Now i want to display stepper action in label.when i click +button the label count will be 1 when i click - button the count will be 0 in same cell.i want to display button count in same cell.</p>
  <p>can any one help me...</p>
  <p>Thanks to all...</p>
  <h1>viewcontroller.m</h1>
  <pre><code>-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
   {
     static NSString *CellIdentifier = @&quot;ListOfProductsCell&quot;;
              
     ListOfProductsCell *cell = (ListOfProductsCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  
          
  if (cell == nil) {
                     
     NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@&quot;ListOfProductsCell&quot; owner:self options:nil];
     cell = [nib objectAtIndex:0];
                 
       productItemDit=[productListArry objectAtIndex:indexPath.row];
              NSString *offerStr= [NSString stringWithFormat:@&quot;%.2f&quot;,[[productItemDit objectForKey:@&quot;offer&quot;] floatValue]];
              NSString *fullCostStr=[[currencyCodeStr stringByAppendingString:@&quot; &quot;] stringByAppendingString:offerStr];
              NSLog(@&quot;%@&quot;,fullCostStr);
              cell.itemCostLbl.text=fullCostStr;
              
              cell.itemStepper.tag=166;
              cell.itemAddedLbl.tag=122;
          
              cell.itemImg.image = [UIImage imageNamed:@&quot;profp.jpg&quot;];
              
    }
        
      
           if (tableView == self.searchDisplayProduct.searchResultsTableView) {
                  searchProductItemDit=[searchProductListArry objectAtIndex:indexPath.row];
                  NSLog(@&quot;searchdit:%@&quot;,searchProductItemDit);
                  cell.itemNameLbl.text= [searchProductItemDit objectForKey:@&quot;name&quot;];
                  self.searchDisplayProduct.searchResultsTableView.separatorColor=[UIColor colorWithRed:200.0 green:0.0 blue:0.0 alpha:1.0];
              } else {
                  productItemDit=[productListArry objectAtIndex:indexPath.row];
                  NSLog(@&quot;dit:%@&quot;,productItemDit);
                  cell.itemNameLbl.text=[productItemDit objectForKey:@&quot;name&quot;];
                  
              }
          cell.itemAddedLbl =(UILabel*)[cell viewWithTag:122];
          cell.itemAddedLbl.text = [[NSString alloc] initWithFormat:@&quot;%d&quot;,itemCount];
          return cell;
  </code></pre>
  <p>}</p>
  <p>ListOfProducts.m</p>
  <pre><code>//this method in custom class to get stepper action     
  -(IBAction)itemValueChanged:(UIStepper *)sender
  {
     ListOfProductsCell *clickedCell = (ListOfProductsCell *)[[sender superview] superview];
      double stepperValue = itemStepper.value;
       itemAddedLbl=(UILabel*)[clickedCell viewWithTag:122];
      itemAddedLbl.text=[[NSString alloc] initWithFormat:@&quot;%.f&quot;, stepperValue];
                  
   }
    
  </code></pre>
  <p>when i use above its working perfectly.But when scroll the table view the value i added from stepper is disappear</p>