Universal draggable view
Objective-C Ruby
Latest commit e5db009 Jun 6, 2013 @mapedd Merge pull request #4 from gradha/pr_drag_between_views
Drag between views
Failed to load latest commit information.
TKDragViewDemo.xcodeproj init commit Feb 7, 2012
TKDragViewDemo Adds support for dragging between subviews. Apr 29, 2013
.gitignore init commit Feb 7, 2012
Default-Portrait~ipad.png init commit Feb 7, 2012
Default.png init commit Feb 7, 2012
Default@2x.png
LICENCE added LICENCE, updated README.md Feb 21, 2012
README.md added logo to README :) Feb 21, 2012
TKDragView.podspec Fix author info Jul 3, 2012
icon.png init commit Feb 7, 2012
icon@2x.png

README.md

image

TKDragView

Universal draggable view.

Features:

  • easy to use, flexible and universal solution if your user have to drag something:D
  • built in manager
  • by setting one property user can't use the same target frame twice
  • by setting another property only one drag view can be dragged at the same moment
  • two animation speed modes : constant time and and constant velocity
  • by setting one property drag view can be drag out of the current end frame or not

Example Project

Example project is located in Demo directory. It provides some look how TKDragView can be used.

Requirements

iOS 5.0

ARC Support

TKDragView is compatible with Automatic Reference Counting, altough it's my first project with automatic memory management, so there might be some leaks.

Todo

  • Use UIViews instead of CGRects as a targets - will be easier to perform rotations, animations…

  • Non-ARC branch (is there a need for that?)

Contact

Tomek Kuźma (mapedd)

License

TKDragVew is available under the MIT license. See the LICENSE file for more info.