title: Programmatically trigger UITableViewCell "Delete" button
body: <p>I'd like to add a custom button on my cells that do the same thing as swipe-to-delete function. So when clicking on my custom button, this one will be hide to let appear the official red "Delete" button.</p>
  
  <p>So I did something like that :</p>
  
  <pre><code>/// Controller.m
  ///
  /// @brief Delete icon button pressed. Trigger display of Delete full button
  ///
  - (IBAction)deleteDrug:(id)sender event:(id)event {
      NSIndexPath *indexPath = [self indexPathForButton:sender event:event];
      UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
      [cell setEditing:YES animated:YES];
  }
  
  /// CustomCell.m
  - (void)setEditing:(BOOL)editing animated:(BOOL)animated {
      [super setEditing:editing animated:animated];
  
      // hide / show "modify" button when entering in edit mode
      switch (editing) {
          case YES:
              self.deleteButton.hidden = YES;
              break;
          case NO:
              self.deleteButton.hidden = NO;
              break;
          default:
              break;
      }
  }
  </code></pre>
  
  <p>At this moment, my custom button are getting hide when clicking on them but the official red "Delete" button is not appearing.</p>
  
  <p>Do someone know how to handle this ?</p>