i've just implemented a swipe gesture in my UIView, and I want it to 'move' according to the gesture. Long story short, I need to get the current "X and Y" coordinates during the swipe, to move the UIView.
Currently I have a "Swipe Gesture" linked to my UIView, an IBAction linked to the Swipe and the working following code:
- (IBAction)mostrar_contas:(UIGestureRecognizer*)sender {
campo.text=@"OK";
}
BTW: the 'campo' thing is a test UITextField. Thanks.