title: Gesture recognizer on button
body: <p>I'd like to implement a gesture recognizer (swipe action) for a button. The problem is, the buttons are create programmatically and are or aren't existent based on a few conditions. So, I don't know if there are buttons, or how many. </p>
  
  <p>I know I need something like:</p>
  
  <pre><code>- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch {
      if (touch.view == aButtonView) {
          //get the button's tag
      }
  }
  </code></pre>
  
  <p>Of course, the if-statement should return Yes when any button view is pressed...</p>
  
  <p>Anyone has any idea on what the word <code>aButtonView</code> should be? Or if it's even possible? Thanks in advance.</p>