title: UIButton with both Touch Up Inside and Touch Repeat?
body: <p>What's the best way to get a button to be capable of both a <code>Touch Up Inside</code> action and a <code>Touch Down Repeat</code> action?  Kind of like the Home button on an iPhone: one click goes to the home screen, but two rapid clicks opens the multitasking bar.  Right now my button has both methods hooked up, but the <code>Touch Up Inside</code> method (unsurprisingly) gets called before the <code>Touch Down Repeat</code> can happen.</p>
  
  <p>I can come up with a few ways I might pull this off (having the Touch Up Inside method wait a second to see if another click comes before executing, having a second button move invisibly into place after the first click, etc) but they all seem kind of hack-y and open to performance losses and bugs.  I found the <code>tapCount</code> property, but it's for UITouch instead of UIButton, so <code>if([_buttonAddItems tapCount] &gt; 1) {} else if([_buttonAddItems tapCount] == 1)</code>, which seems like it would be the most efficient way of doing it, doesn't work.</p>
  
  <p>Is there a best-practice for this sort of thing?  Or if not, does anyone have a preferred way of getting this done?</p>