Donnerstag, 3. Juli 2014

Items drag & drop iOS exercise

This is a little exercise I did to practice gesture recognizers, collection view, and snapping effect effect using UIDynamicAnimator (iOS 7).
We can drag and drop views from the bottom selector to top view. The views can be clicked to see more info. When view is dragged to invalid place it snaps back. Placed views can be removed by dragging back to the bottom.
This can be useful for e.g. placing furniture in a room, dressing a person, etc.
It needs refactoring, right now everything is in a view controller.


Code

Keine Kommentare:

Kommentar veröffentlichen