insert-row

Algorithm for inserting/deleting cells in UITableView based on Core Data object?

I have a core data recipe object that contains an ordered list of ingredient objects. The ingredients are displayed as a list in a UITableView. When the user cancels editing of the table view, I call rollback on the MOC, which may restore some ingredients (any that the user has deleted) and remove others (any that the user has added). ...