GiselleSerate / suitelife

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

Scanning doesn't save data properly #56

Closed cole-k closed 7 years ago

cole-k commented 7 years ago

Or, perhaps more accurately, the saved scanned data is being overwritten because the list/pantry view controllers are not loading it properly. My guess is that persistence is enabled and the list/pantry view controllers are getting cached, old data somehow instead of the saved, new data. Not sure how to resolve other than a bandaid fix of not using runTransactionBlock() or overhauling our integration of Firebase to use observe() instead of observeSingleEvent(of:).