Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Tom Coomer
1,331 PointsDragging to perform actions.
I have seen two apps on the App Store (called lasso and mailbox) that when something is dragged along the x axis an actionhappens. How would I do something like this?
lasso https://itunes.apple.com/gb/app/lasso-photos/id588194306?mt=8
mailbox https://itunes.apple.com/gb/app/mailbox/id576502633?mt=8
1 Answer
Stone Preston
42,016 Pointswell for starters you could look into the touchesMoved method to take care of the dragging.