Handsy icon indicating copy to clipboard operation
Handsy copied to clipboard

Swiping

Open ryanmasondavies opened this issue 12 years ago • 0 comments

This would be a worthwhile addition, but the implementation differs distinctly from tapping as the touch is not ended. It begins, then moves from point A to point B, and then ends.

The API for triggering this behaviour might look like this:

// Swipe horizontally:
[view swipeFromLeftToRight];
[view swipeFromRightToLeft];

// Swipe vertically:
[view swipeFromTopToBottom];
[view swipeFromBottomToTop];

// More options:
[view swipeFromPosition:a toPosition:b withInterval:0.2f];

Testing could be performed by ensuring that a gesture recogniser is triggered.

ryanmasondavies avatar Nov 17 '12 12:11 ryanmasondavies