AnthonyWhitakerJr / TapList_iOS

Sample mobile conversion of Kroger's ClickList website.
1 stars 1 forks source link

Customer Cart Part 2 #49

Closed AnthonyWhitakerJr closed 7 years ago

AnthonyWhitakerJr commented 7 years ago

Customer Cart

Completion of Customer Cart feature, #26.

Adds cart icon to product selection & product detail views. Cart icon navigates user to a cart view. Allows user to update quantity of products in cart and immediately see effects on subtotals. Cart view shows:

Closes #26, closes #27, closes #29, closes #47.

customercart

Refactoring

Quantity selection has been refactored for a pair of ui elements to a single, (mostly) self contained UIControl. Closes #46

PlaceholderTextView & QuantityTextField set their own custom delegates during initialization. Closes #17

Image fetching has been refactored to use semaphores, removing some unnecessary processing. Closes #37

Enhancements

A placeholder image has been added for all image views to be shown while product image is loading. Closes #36

Product images on the product detail view can now be browsed full screen by tapping them. Closes #32, closes #48

Bugfixes

PlaceholderTextView is now @IBDesignable. Font on UITextView is not set on initialization in IB, but is in application. Its absence was causing a crash in PlaceholderLabel. Added a workaround specifically for IB. Closes #19