I'm writing a simple cocoa program that should use the swipe gesture.
I've implemented in my NSView
subclass the method swipeWithEvent:
but when i try the program the method is never called. rotateWithEvent:
method works instead.
I'm using a Xcode 4.1 on Mac OS 10.7 Lion.
Is there a difference between rotateWithEvent:
and swipeWithEvent:
?? Why the first is called when I'm under the view and do a rotate gesture and the second in the same condition is never called if i do the swipe gesture?
Update :
I built also a simple project only to check the swipeWithEvent:
and rotateWithEvent:
methods but the behavior is the same.