Creating view-model for each UITableViewCell
<p>I'm stuck on a design decision with creating view-models for table view's cells. Data for each cell is provided by a data source class (has an array  of <code>Contacts</code>). In <code>MVVM</code> only view-model can talk to model, but it doesn't make sense to put data source in view-model because it would make possible to access data for all cells, also it's wrong to put data source in view controller as it must not have reference to the data. There are some other key moments:</p>

<ul>
<li>Each cell must have it's own instance of view-model not a shared one</li>
<li><code>cellForRowAtindexPath</code> must not be placed in a view-model because
it shouldn't contain any UI references</li>
<li>View/ViewController's view-model should not interact with cell's view-model</li>
</ul>

<p>What's the right way to "insert" data source for cells in <code>MVVM</code>'s relationship ? Thanks.</p>