rubymotion/BubbleWrap — pull request #440 by hboon (2014-12-18 04:47:25+00:00)
Title: UIViewWrapper#when_pressed: should use #handle_gesture: like all the other #when_XXX: methods and not check for UIGestureRecognizerStateBegan.

UIViewWrapper#when_pressed: should use #handle_gesture: like all the other #when_XXX: methods and not check for UIGestureRecognizerStateBegan. The check should be left to the caller.

Both for consistency of API and support for this use case:

(1) long press - do something
(2) release long press - do another thing.

This was how it worked until it was changed in e66dc51a790c8470ba8f748291c69dd0bcb2745.