I've got a simple project whose view controller has both a 
UITapGestureRecognizer and a UIPanGestureRecognizer.
  Both show up in the outline view (and their proxies(?) show up at the top of 
the view controller representation, along with the proxies for the view 
controller, the first responder, and "exit" (unwind segue?). I can confirm 
these are connected to my view controller (in swift, the dot-in-circle doohicky 
shows up to the left of the IBAction func grabDrop(sender: 
UIPanGestureRecognizer), and right-clicking on the proxy shows me the action 
connection to my view controller is in fact connected to grabDrop:, but... 
<drum roll, please>... a print("grabDrop:") right after the opening curly brace 
for the func never fires. How can I debug this? There's nothing to put a 
breakpoint on, since the code never fires, and one can't put a breakpoint on a 
storyboard. Help!!

i.e.

(*) IBAction func grabDrop(sender: UIPanGestureRecognizer)
{
print("grabDrop:") // <- never gets here!!
...
}

Arrrrgh! :(


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to