title: Check for double tap in editing mode
body: <p>I'm making a tweak that involves popping an alert whenever the user double taps an icon in editing mode. I've tried hooking on to </p>
  
  <pre><code>- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
  </code></pre>
  
  <p>of <code>SBIcon</code> and then </p>
  
  <pre><code>{
      %orig;
      UITouch *touch = [touches anyObject];
      if (touch.tapCount == 2 &amp;&amp; [[objc_getClass("SBIconController") sharedInstance] isEditing])
      {
          //pop an alert and do stuff
      }
  }
  </code></pre>
  
  <p>But this doesn't seem to work at all. Could anyone tell me what is wrong with the above and suggest alternative ways to achieve this?</p>
  
  <p>EDIT: I'm using theos, if it matters.</p>