Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var users = [Users]()
- self.viewModel.users.remove(at: indexPath.row)
- self.usersTableView.deleteRows(at: [indexPath], with: .automatic)
- attempt to delete row 0 from section 0 which only
- contains 0 rows before the update
- self.viewModel.users.remove(at: indexPath.row)
- self.usersTableView.numberOfRows(inSection: 0)
Add Comment
Please, Sign In to add comment