I am trying to call a function with parameters using the action of UITapGestureRecognizer and I can\'t figure out any alternative.
UITapGestureRecognizer
This here is the gesture
All you need to do is call it without using any kind of parameters in your string literal.
var gestureDoubleTap = UITapGestureRecognizer(target: self, action: "doubleTap:")
The : tells the computer that you're using a function with a parameter, and that is created somewhere else.
:
Hope this helps :)