title: Binding of cells in UITableView does not work properly when reused and built with Xcode9
body: <p>I have a list UITableView containing items. Everything is working fine until I reuse cells using
  var cell = TableView.DequeueReusableCell(cellIdentifier, indexPath);</p>
  
  <p>Then the binding on the reused cells for new items does not work. The items in the table view are repeated constantly. The underlying data is loaded properly.</p>
  
  <p>The code also ran fine until I updated Xcode from version 8 to 9. When I go back everything is fine again.
  The iOS version does not seem to matter.</p>
  
  <p>I'm using MVVMCross 4.4 for view binding.</p>
  
  <p>Visual Studio For Mac is updated to the latest version.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Below my code for cell reuse:</p>
  
  <pre><code>protected override UITableViewCell GetOrCreateCellFor(UITableView tableView, NSIndexPath indexPath, object item)
          {
              var original = base.RowsInSection(tableView, (nint) 0);
  
              if (original &gt; 0)
              {
                  var cell = TableView.DequeueReusableCell(CellIdentifier(indexPath, item), indexPath);
                  var frame = cell.Frame;
                  frame.Width = TableView.Frame.Width;
                  cell.Frame = frame;
  
                  if (cell is T)
                      return ApplyForItem ((T)cell, indexPath);
                  else
                      return ApplyForItemFallback (cell, indexPath);
              }
  
              return TableView.DequeueReusableCell(IsLoading ? LoadingCell.Key : NoDataCell.Key, indexPath);
          }
  </code></pre>
  
  <p>But I do not think that this code is buggy. The DequeueReusableCell method returns required cells but those cells aren't bound correctly to my items.</p>
  
  <p><strong>Edit:</strong>
  We found out that if we clone all of the items in the list bound, the problem does not exist. It seems to be an optimization of mmvmcross or xcode.</p>
  
  <p>I forgot to mention that the items bound are Realm items not just POCO's.</p>