UITableViewDelegateにスワイプアクション用のメソッドが追加された iOS 11ではUITableViewDelegateに以下のスワイプアクション用のメソッドが追加されました。 // Swipe actions // These methods supersede -editActionsForRowAtIndexPath: if implemented // return nil to get the default swipe actions @available(iOS 11.0, *) optional public func tableView(_ tableView: UITableView, leadingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConf