Skip to content

Instantly share code, notes, and snippets.

@chuckremes
Created December 16, 2009 22:40
Show Gist options
  • Save chuckremes/258263 to your computer and use it in GitHub Desktop.
Save chuckremes/258263 to your computer and use it in GitHub Desktop.
- (void)mouseDown:(CPEvent)theEvent
{
var event_location = [theEvent locationInWindow],
local_point = [self convertPoint:event_location toView:nil];
console.log(event_location);
console.log(local_point);
clicked_row = [self rowAtPoint:location];
console.log("clicked row " + clicked_row);
[super mouseDown:theEvent];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment