왼쪽에 스와이프 액션 추가
Returns the swipe actions to display on the leading edge of the row.
optional func tableView(_ tableView: UITableView,
leadingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration?
The table view containing the row.
The index path of the row.
The swipe actions to display next to the leading edge of the row. Return nil if you want the table to display the default set of actions.
Use this method to return a set of actions to display when the user swipes the row. The actions you return are displayed on the leading edge of the row. For example, in a left-to-right language environment, they are displayed on the left side of the row when the user swipes from left to right.