Сделав все как в уроке при удалении ресторана вылетает такая ошибка:
2016-11-11 20:11:22.037 Eateries[10052:845342] *** Assertion failure in -[UITableView _endCellAnimationsWithContext:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3600.5.2/UITableView.m:1610
2016-11-11 20:11:22.059520 Eateries[10052:845342] [error] error: Serious application error. An exception was caught from the delegate of NSFetchedResultsController during a call to -controllerDidChangeContent:. Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the update (1), plus or minus the number of rows inserted or deleted from that section (0 inserted, 1 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out). with userInfo (null)
В файте представленном под видео тоже самое…
Ресторан при этом удаляется, но второй ресторан не удаляется(не выдвигается кнопка удалить).
Как исправить ошибку?