nuvention-web / stickie

0 stars 0 forks source link

Drag Thumbnail Picture Across Screen #13

Closed vinsathya closed 10 years ago

vinsathya commented 10 years ago

[Normally I wouldn't add dev tasks on your behalf but since I found a good resource on this issue I'm doing so ... sorry Stephen]

Task Description: Building functionality to drag and drop pictures on home screen. For Use Case 1 (Photo Tagging). Hours Budgeted: 6 hours

vinsathya commented 10 years ago

Hey Stephen, found this resource on Udemy, describes setting up the panGesture functionality to drag and drop Pictures on a screen.

https://www.udemy.com/iosdevelopment/#/lecture/100582

Free course on Udemy, check out at 17:40 for this specific functionality.

szeng2013 commented 10 years ago

Added code for dragging objects. Phone detects the object by prioritizing drag gesture. However image has yet to be extracted to show movement.

vinsathya commented 10 years ago

@szeng2013 have you tried the Udemy method?

szeng2013 commented 10 years ago

That's the first thing I tried. It doesn't apply due to the fact that we use a collection view to view ALL album images rather individual images populated one at a time.

szeng2013 commented 10 years ago

Update on drag and drop: Spent 4 hours implementing drag and drop. Tried using UIPanGesture and UILongPressGesture libraries as well as open source helper object dragging functions. Image thumbnail will not populate but the dragging gesture is detected.