title: How do I disable the full swipe on a tableview cell in iOS11
body: <p>UITableViewDelegate.h </p>
  
  <pre><code>// Swipe actions
  // These methods supersede -editActionsForRowAtIndexPath: if implemented
  // return nil to get the default swipe actions
  - (nullable UISwipeActionsConfiguration *)tableView:(UITableView *)tableView leadingSwipeActionsConfigurationForRowAtIndexPath:(NSIndexPath *)indexPath API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos);
  - (nullable UISwipeActionsConfiguration *)tableView:(UITableView *)tableView trailingSwipeActionsConfigurationForRowAtIndexPath:(NSIndexPath *)indexPath API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos);
  </code></pre>
  
  <p>However, I am returning nil in my trailingActions method and I still can do a full swipe to delete in my tableview.  How can I prevent the full swipe?  (I want the user to have to swipe then press the "Delete" button.</p>
  
  <pre><code>@available(iOS 11.0, *)
  func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -&gt; UISwipeActionsConfiguration? {
      return nil
  }
  </code></pre>
  
  <p>EDIT: I had implemented canEditRowAt and commit Editing style before the iOS 11/XCode 9/Swift 4 update.  The full swipe was enabled even BEFORE I implemented the trailingSwipeActionsConfigurationForRowAt.</p>