Kaushal Elsewhere
1 min readMar 29, 2018

--

Hi Roshan, I didn’t get your question well, but will try to explain.
MessageViMois a data model class, we have a store variable called dataArray which is an array of this class objects, ie.
var dataArray:[MessageViMo]
We generally get data from some data provider class and keep reloading our views according to the new/changed data.
So when a new set of this array will come into the view controller we just need to calculate the diffs -> set new data to old -> refresh the tableview.

--

--

Kaushal Elsewhere
Kaushal Elsewhere

Written by Kaushal Elsewhere

Artist by birth, programmer by choice. 👨🏻‍💻

No responses yet