title: Can't drag IBAction from UITapGestureRecognizer in Storyboard
body: <p>I am trying to drag an IBAction from my UITapGestureRecognizer, which was placed on an UIImageView that resides in a custom tableview cell.</p>
  
  <p>However, it does not allow me to drag an action from storyboard to the custom tableview cell's subclass </p>
  
  <p>The cell's class is properly set to the correct file in the identity inspector. And user interaction is enabled on the imageview.</p>
  
  <p>So I tried typing out the IBAction and connecting it from the file to storyboard, and it gives this error:</p>
  
  <p><a href="https://i.stack.imgur.com/kcqXm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kcqXm.png" alt="Error after connecting IBAction"></a></p>
  
  <p>This is perplexing because I am able to drag IBActions from UIButtons and other view objects; just not this UITapGestureRecognizer. I have recently updated Xcode to 7.2.1</p>
  
  <p>Here's my view hierarchy from the document outline:</p>
  
  <p><a href="https://i.stack.imgur.com/32A9S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/32A9S.png" alt="Custom cell document outline"></a></p>
  
  <p>Here's the tap gesture's connections:</p>
  
  <p><a href="https://i.stack.imgur.com/XMcHy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XMcHy.png" alt="imageview&#39;s connections"></a> </p>
  
  <p>And the imageview's connections:</p>
  
  <p><a href="https://i.stack.imgur.com/Jyn7g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jyn7g.png" alt="enter image description here"></a></p>