GiselleSerate / suitelife

2017 Harvey Mudd Summer Startup Project: iOS App.
https://suite-life.org/
0 stars 0 forks source link

SIGABRT on deleting second entry/more than one cell at a time on list view #8

Closed GiselleSerate closed 7 years ago

GiselleSerate commented 7 years ago

Suspected cause: clearing empty rows? or maybe deleting multiple things at once.

GiselleSerate commented 7 years ago

Only seems to be having a fit on pantry data. List data works gracefully. Will try clearing pantry data manually, as it was generated during a period of significant code upheaval and then seeing if I can replicate the error.

GiselleSerate commented 7 years ago

Only loading defaults into list, and it still occasionally does this. Sometimes it eats items that I add, except somehow it doesn't do this after I've added print statements so I haven't figured out why.

GiselleSerate commented 7 years ago

Item eating seems to happen to the first item added after switching tabs.

GiselleSerate commented 7 years ago

Adding a call to refreshPage() in viewWillAppear seems to fix everything? I don't know why it would, but it's not doing it anymore.