title: How to add activity indicator to the image in UITableView?
body: <p>I have created the Custom <code>tableView</code> and using custom <code>tableView</code> class in Other class to Show the <code>tableView</code>..</p>
  
  <p>I am Loading the image from Server and displaying it in the <code>tableViewRow</code>.. each <code>image</code> is different in it..</p>
  
  <p>On Screen only 7 out of 10 images will come, and when I scroll down the first 3 images are repeating for some time and when those images get load its showing proper images.. but initially till new images will come its showing old images, I want to put a activity indicator to show that the images are loading instead of old images..</p>
  
  <p>I want to add <code>activity Indicator</code> in the place of <code>image</code>, till the <code>image</code> get load..</p>
  
  <p>My code is...</p>
  
  <pre><code>self.tableViewX = tableView;
  static NSString *simpleTableIdentifier = @"SimpleTableCell";
  SimpleTableCell *cell = (SimpleTableCell *)[tableView1 dequeueReusableCellWithIdentifier:simpleTableIdentifier];
   if (cell == nil)
  {
      NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"SimpleTableCell" owner:self options:nil];
      cell = [nib objectAtIndex:0];
  }
  dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^
      {
  NSString *imageURL = [NSString stringWithFormat: @"www.xyz.image.png"];
  cell.thumbnailImageView.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:imageURL]]];
   });
  </code></pre>
  
  <p>Please assist me with some sample code..</p>