title: How do I know when a UITableView looses focus?
body: <p>I have a UITableView with a UITextField for each row. When the user touches outside the tableview, deselecting the text field, I would like to invoke a method.</p>
  
  <p>However, I don't want to invoke such method if the user selects another row of the table.</p>
  
  <p>thanks</p>
  
  <p>**Code for alloc_iNit **: </p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      static NSString *CellIdentifier = @"Cell";
  
      CMTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil) {
          cell = [[[CMTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
      }
  
      [[cell textField] setTag:[indexPath row]];
      [[cell textField] setDelegate:self];
  
      NSString *tagName = [tagsDisplayName objectAtIndex:[indexPath row]];
      [[cell textField] setText:tagName];
  
      return cell;
  }
  </code></pre>