Pass UIGestureRecognizer Selector

( , SO), . , - , :

 imageView.addGestureRecognizer(UITapGestureRecognizer(target: self, action:Selector("tapImage:")))

      

, , , -, tapImage. , - , - - .

true/false ( 0/1) TapGestureRecognizer "tapImage", ? .

, (, "tapImageFunctionA" "tapImageFunctionB", , , , ? . , ?

!

+3




1




, ( , ). , "" , - .

0









All Articles