Kodeco Forums

Video Tutorial: Table Views Inserting Rows

Learn how to insert new rows into your table view while in editing mode.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/2488-video-tutorial-table-views-inserting-rows

Sir,
I am getting an exception when I try to delete raw second time by swiping to left.

“Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: 'Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (10) must be equal to the number of rows contained in that section before the update (10), plus or minus the number of rows inserted or deleted from that section (1 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out)”