setdirection/ios-shared — pull request #72 by rcancro (2014-03-17 18:38:08+00:00)
Title: Updates to SDQuantityView/SDQuantityEditView

A few updates that I found were necessary when trying to make a new subclass of SDQuantityEditView:

SDQuantityEditView
* added an awakeFromNib that does some of the creation that a subclass can't
* don't overwrite a user's button titles in setup
* allow for customization of the committing animation

SDQuantityEditViewBehavior
* added a 2nd suffix (after the weight) to the display after total. This allows for text like "3kg in cart"
* made one function to create the display for a qty instead of spreading it throughout the class
* added a new method to take the current state as baseline. this allows an editView using this behavior to reflect the new originalQty, currentQty, etc. (eg, this is used after an service call to add an item to the cart returns)

SDQuantityView
* fixed some drawing issues with the circular buttons
* fixed the display of the right aligned image