Question: URGENT!! Using Swift/ Xcode, Design an iOS app for shopping cards with project name q02. The initial interface is shown as Fig. 1, the user
URGENT!!
Using Swift/ Xcode, Design an iOS app for shopping cards with project name q02.
The initial interface is shown as Fig. 1, the user can input item name, price, and quantity, and then clicks the Add A New Item button to add this item to the list. The user can add as many items as he/she wants to add. Fig. 2 shows the interface with two items added. In the following list, all the items name price, quantity, and total will be displayed.
The total payment will be dynamically updated. All the costs will be displayed with two digital numbers after the decimal point.

As shown in Fig. 3, the Edit button allows user to delete existing items and change the list order. Fig. 4 shows the result with one item deleted.
Phone 8 Plus iPhone 8 Plus 3:42 PM Edit Edit Shopping Cart Shopping Cart Add A New Item Enter tomme Add A Newbom Intername Enteriem Name: Apple Price: $1250 Quantity: 3 Total: $37,50 Name: Apple2 Price: $23.50 Quantity: 10 Total: $235.00 Total Payment $0.00 Total Payment: $272.50 Fig. 1 Fig. 2 iPhone 8 Plus IPhone Done Edit Shopping Cart Shopping Cart Add A New Item Add A New Item Enter tem name Eneritemprice Name: Apple2 Price: $23.50 Quantity: 10 Total $235.00 Name: Apple Price: $12.50 Quantity: 3 Totat $37.50 Name: Apple2 Price: $23.50 Quantity: 10 Totat $235.00 Total Payment: $272.50 Total Payment: $235.00 Phone 8 Plus iPhone 8 Plus 3:42 PM Edit Edit Shopping Cart Shopping Cart Add A New Item Enter tomme Add A Newbom Intername Enteriem Name: Apple Price: $1250 Quantity: 3 Total: $37,50 Name: Apple2 Price: $23.50 Quantity: 10 Total: $235.00 Total Payment $0.00 Total Payment: $272.50 Fig. 1 Fig. 2 iPhone 8 Plus IPhone Done Edit Shopping Cart Shopping Cart Add A New Item Add A New Item Enter tem name Eneritemprice Name: Apple2 Price: $23.50 Quantity: 10 Total $235.00 Name: Apple Price: $12.50 Quantity: 3 Totat $37.50 Name: Apple2 Price: $23.50 Quantity: 10 Totat $235.00 Total Payment: $272.50 Total Payment: $235.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
