0

I have registed viewModels for every UITableViewCell. I update viewModel of cell with user interactions. As the viewController contains the array of viewModel and allocates the viewModel on cellForRowAt. I need to reload the cell. How can i update the array of viewModel. Or do i need to?

Please ask if i am not able to communicate the issue.

How can i update the viewModel array in viewController or do i need to?

coreDeviOS
  • 1,468
  • 2
  • 14
  • 27

1 Answers1

0

If you're using a reusable cell in the tableView, the method: tableView.realodData() could help you. Write it down after each time you're updating the array

A.jones
  • 11
  • 3