title: Activate cell's accessory view (UISwitch) when didSelectRowAtIndexPath is called
body: <p>Every cell of my tableView has a UISwitch as an accessoryView:</p>
  
  <pre><code>UISwitch *mySwitch = [[UISwitch alloc] initWithFrame:CGRectZero];
  cell.accessoryView = mySwitch;
  [mySwitch addTarget:self action:@selector(SwitchToggle:) forControlEvents:UIControlEventValueChanged];
  </code></pre>
  
  <p>Switch is toggled when the user taps it, but I also want it toggled when the didSelectRowAtIndexPath is called (when the user taps on that cell).</p>
  
  <p>I tried this (but it doesn't work):</p>
  
  <pre><code>- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
  {  
      UISwitch *tempSwitch = (UISwitch *)[tableView cellForRowAtIndexPath:indexPath].accessoryView;
      [tempSwitch addTarget:self action:@selector(SwitchToggle:) forControlEvents:UIControlEventValueChanged];
  
      [tableView deselectRowAtIndexPath:indexPath animated:YES]; // cell selection fadeout animation
  }
  </code></pre>
  
  <p>Thanks.</p>