slerp

Take a swipe at it

In a UITable subclass:

- (int)swipe:(int)num withEvent:(GSEventRef)event;
{
  if (num == kUIViewSwipeRight)
    [self handleSwipeRight];

  // knowing the bounds of the swipe might be useful…
  CGRect rect = (GSEventGetLocationInWindow(event));
  NSLog(@”origin: (%f, %f) size: (%f, %f)”, rect.origin.x, rect.origin.y, rect.size.width, rect.size.height);
}