title: How to show Updated values of UITableViewCell from another method ?
body: <p>I declared globally</p>
  
  <pre><code>  NSIndexPath *selectedIndexPath;
  </code></pre>
  
  <p>and here is my didselectmethod</p>
  
  <pre><code> - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath: (NSIndexPath *)indexPath
    {
     UIAlertView *loAlert = [[UIAlertView alloc]initWithTitle:@"Are you sure you want to redeem?" message:nil delegate:self cancelButtonTitle:@"Yes" otherButtonTitles:@"No", nil];
     loAlert.tag  = 10;
     [loAlert show];
     selectedIndexPath = indexPath;
    }
  </code></pre>
  
  <p>After selecting row i am showing alert </p>
  
  <pre><code> - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex: (NSInteger)buttonIndex 
   {
        if(alertView.tag == 10)
       {
           if(buttonIndex == 0)
           {
             [self redeemOfferService];
           }
       }
   }
  </code></pre>
  
  <p><strong>Then calling redeemOfferService, in this method i am facing problem</strong> </p>
  
  <pre><code>- (void)redeemOfferService
  {
  
     OffersBoughtCellTableViewCell * selectedCell1 = [offersTableView cellForRowAtIndexPath:selectedIndexPath]; 
  
    NSLog(@"%@ ************",   selectedCell1.quantity.text);
     // for e.g. selected cell's quantity is 0 (here i can see selected cell quantity)
     i want to change and update here as follow  
  
     selectedCell1.quantity.text = @"Quantity  : 5";
  
    // after this i can see quantity in my cell is 5 but 
       when i scroll values are again showing from
  
    cellForRowAtIndexPath i want to show updated value on cell,
    how to do this ?
  }
  </code></pre>
  
  <p>For more details here is my cellForRowAtIndexPath</p>
  
  <pre><code> - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
   {
    OffersBoughtCellTableViewCell  *cell = (OffersBoughtCellTableViewCell *) 
    [tableView dequeueReusableCellWithIdentifier:@"offersCell" forIndexPath:indexPath];
    OfferDetail * offerDetailObj=[[OfferDetail alloc]init];
  
  // OfferDetail, OffersBoughtDetails are NSObject class 
  // @property (nonatomic, strong) OfferDetail *offerObj;&amp; OffersBoughtDetails * selectedOfferBoughtObj;
  // and @property (nonatomic, strong) NSArray *offersBought;
  
    offerDetailObj=[self.listOfOffers objectAtIndex:indexPath.row];
    OffersBoughtDetails * offerBoughtObj=[self.offerObj.offersBought objectAtIndex:indexPath.row];
    selectedOfferBoughtObj=offerBoughtObj;
    cell.quantity.text=[NSString stringWithFormat:@"Quantity  : %@",offerBoughtObj.quantity];
  
  }
  </code></pre>