Reload cells after new cell insertion with NSFetchedResultsController
patrickmidori opened this issue · comments
patrickmidori commented
Trying to insert a new Cell with NSFetchedResulltController doesn't seems to reload the cells. New cell doesn't appear event if I put a reloadData after it. It appears when I restarted the app, so the insertion in Core Data works. I'm using the last TMQuiltView.m.
Daniel Tse commented
The problem is that layoutSubviews is never called, which means that the bookkeeping for columns isn't refreshed. If you call [quiltView setNeedsLayout], it should work.
patrickmidori commented
Unfortunately it doesn't seems to change anything. In fact layoutSubviews is called after insertion but nothing happens on the view. Maybe it comes from my code.
Bruno Virlet commented