heikomaass / HMLauncherView

[ABANDONED] UI component for buttons like Apple's SpringBoard
Other
191 stars 25 forks source link

Access to transform property outside an icon? #13

Open gerchicov-bp opened 9 years ago

gerchicov-bp commented 9 years ago

You access to the transform property and this may cause the following troubles: 1)For example, what to do if the icon have had its own transform before you assign to it a new value? It is more than meets the eye. The problem is you add usual and draggable icons to the current view as is then the current view calls layoutSubviews to often (which also causes calling of layoutSubviews for all the children) because it is added with no intermediate views between it and parent. And so you can't simply apply additional transforms on dragging because the animation will bounce. 2)there are a lot of constants which more likely belong to HMLauncherIcon but you have placed them into HMLauncherView