First attempt at a cleanup:
- added willStart/Finish drag delegate methods
- replaced the window with the rootViewController for easier rotation handling
- removed every piece of code that was unused/useless
- rewrote all the animations using blocks
- rewrote the singleton creation
Moved to ARC + more cleanup
Moved to properties.
Removed registering and contexts.
Removed IDs, types and pasteboard.
More cleanup
Added back drag metadata.
Removed singleton. Added enable/disable dragging methods
More cleanup and improvements
Made all protocol Methode optional.
Prevent bad timing crashes.
[FIX] bug fixes
More bug fixes
[ADD] method to allow us to define snap behaviour on drag completion
[FIX] couple of bug fixes related to the positioning of the dragged element (on start)
Cleanup
Added dragCompletedOnTargetView:position:withMetadata:
Placeholder animation fixes.
Reduced minimum press duration to 0.15
Mistiming crash fix attempt.
Reverted last change.
Refactoring: willStartDrag/didStartDrag have been moved to the DKDragDataProvider protocol