title: UITapGestureRecognizer not working - Swift 3
body: <p>I see that there are a ton of these questions, and I think I'm following the accepted Swift 3 methodology, but I'm still getting nothing.  I can see that the UITapGestureRecognizer has been attached.  Here's my code:</p>
  
  <pre><code>let tileClick = UITapGestureRecognizer(target: self, action: #selector(GameManagement.initiateTileClick(_:)))
  newView.addGestureRecognizer(tileClick)
  newView.isUserInteractionEnabled = true
  
  func initiateTileClick(_ sender: UITapGestureRecognizer) {
      print("initiate tile click")
  }
  </code></pre>
  
  <p>A few things to note:</p>
  
  <p>1) The view that I'm attaching the gesture recognizer to has a two views and a label within it that each cover the entire frame of the view, however, I tried attaching the recognizer to the label, which is the topmost child item and it still doesn't work.</p>
  
  <p>2) Both the function that adds the recognizer and the function that is called on the tap are contained in an NSObject file.  I have a variety of interconnected functions that I want to be able to call from multiple view controllers and would prefer to keep this in the separate NSObject file.  The process worked when I had everything in a UIViewController file and stopped working when I moved the functions to the NSObject file.</p>
  
  <p>3) I've tried changing <code>GameManagement.initiateTileClick</code> to <code>self.initiateTileClick</code> or just <code>initiateTileClick</code> and none of those worked.</p>