title: iphone: changing status of several segment controllers at once in custom cell
body: <p>I have a tableView with the custom cell (see image below.)</p>
  
  <p>Taking a three row table as an example, if a user changes segment controller in row 0 to "Yes," can I automatically change the segment controllers in rows 1 &amp; 2 to "No?"</p>
  
  <p>I am using the following to detect a segment change:</p>
  
  <pre><code>- (void)seg_changed:(id) sender {
  
  cell=(switchCell*) [[sender superview] superview];
  
  UITableView *table=(UITableView*) [cell superview];
  
  NSIndexPath *path=[table indexPathForCell:cell];
  
  NSLog(@"been pressed %d si %d",path.section, path.row);
  
  }
  </code></pre>
  
  <p>Much appreciated.</p>
  
  <p><img src="https://i.stack.imgur.com/dwcla.png" alt="enter image description here"></p>