WEEK 1(CODE UPLOADED TO GITHUB):
Primary Objective: Get the Core Data set up (in demo app, a data structure (not Core Data) in NSUserDefault were used, which won't be capable of handling large data sets)Core Data Design
The design of the Core Data entries and relationships are as shown in the figure below:Currently, Entity Shop and ItemInShock are not in use. They are intended for storing and showing price in future.
UI Design and implementation
The UI design roughly follows the one runs on Android platform. The currently implemented UI are as shown below:
Shopping List Table View
This table displays all the shopping lists that is stored in the app. This UI is able to achieve the following:
1. select a created list
2. create a new list by typing in the tittle
Creating is done by typing in the TextField, and a list would be created in CoreData when return is hit.
SideNote:
*in future, it's possible to skip this UI when lunching the app.
*How:Select one of the lists based on user's last choice and segue to the List Content Table View
*Why:Shopping List Table View controller would be pushed into the controller stack, and user would be able hit back in navigation bar and change the list. Besides, the relationship between the two controller is preserved.
List Content Table View
This table displays all the entries within a shopping list. Through interacting with this interface, user would b able to achieving the following:
1. Add items into the list
2. Check an items, which will be displayed then in light color and marked with a checkmark(uncheck by clicking again)
3. Clean Up, hide the marked items from the list
4. Details, view and edit the details of an item. eg. quantity, unit, tag, notes....
5. Edit/View List. Toggle between Edit and View mode. Both mode are shown below in the graph
View Mode: checked and cleaned items are hiden
Edit Mode: All items are shown, user would be able to bring back hided items by clicking on the green<+>sign on the right
These two scree shot shows the checked the items and after clicking the CleanUp where the marked items are hided.
This graph shows when entering Edit List mode, the hidden items are shown and can be brought back by clicking the + sign.Goals for now:
1.Implement "Options" and "Details" UI. ask for, store and apply user preference.
2.Implement store based price calculation



No comments:
Post a Comment