ahmedattia213
2/26/2019 - 9:25 PM

swipe to delete

     1- viewdidload allows multiple selection
     2- can edit row at function
     3- commit editing style function
      
        tableView.allowsMultipleSelectionDuringEditing = true
override func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool {
        return true
    }
    
     override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) {
     
     }