Cheat UIGestureRecognizer for testing
iOS gestures are source of headache for programmers. From the point of view of automated integration testing, they are evil since it is difficult to simulate from programs.
VirtualGesture simulate gestures by directoly invoking actions associated with UIGestureRecognizers. If you are using built-in gesture recognizers -- UISwipeGestureRecognizer, UILongPressGestureRecognizer, etc --, you can use VirtualGesture to simulate user's multi touch gestures.
// Long press gesture
[view recognizeLongPress];
// Swipe gesture
[view recognizeSwipe:UISwipeGestureRecognizerDirectionRight];
// Pinch gesture
[view recognizePinch:0.2];
velocity
property.Written by Soutaro Matsumoto. (matsumoto at soutaro dot com)
Released under the MIT License: www.opensource.org/licenses/mit-license.php
github.com/soutaro/VirtualGesture