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:
Product Info:
Product image
Product title
Product detail
Quantity of product in cart
Total price for quantity of product in cart
Order summary:
Number of items in order
Subtotal
Service fee
Estimated total
Closes #26, closes #27, closes #29, closes #47.
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
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.
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
onUITextView
is not set on initialization in IB, but is in application. Its absence was causing a crash inPlaceholderLabel
. Added a workaround specifically for IB. Closes #19