Open godwinpang opened 5 years ago
Shopping List Screen: User should be able to add item to shopping list (via item screen) User should be able to update quantity of item in shopping list
Item Screen: User should be able to search for item in list of items(constant list [bread,eggs,ham]) User should be able to add item to shopping list(after clicking on add button, user will be taken back to shopping list)
create listmodel in listviewcontroller to store actual data itemviewcontroller should have list of items, whenever a cell(item) is selected in itemviewcontroller, the user should be taken back to the listviewcontroller. you can do this in the didSelectCellAt delegate method for the tableview in itemviewcontroller.
What this means is that your UIPickerView should actually do something.
Consider having a hashmap(dictionary) that maps keys to values. Your UITableViewCells can display the keys and then the values can be updated using the UIPickerView.
Next issue: TBD