title: Swift convert string to function name (#selector)
body: <p>I made a function which receives a string. That string must be converted to a function name and then passed as a <code>#selector</code> parameter. I tried this but it didn't work:</p>
  
  <pre><code>func setFunctionWithTap(functionName: String) {
      let tap = UITapGestureRecognizer(target: self, action: #selector(functionName))
      ...
  }
  </code></pre>
  
  <p>Could you please tell me if it is possible at all?</p>