Created
May 27, 2011 19:50
-
-
Save danielwestendorf/996017 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def tableView(aView, validateDrop:info, proposedRow:row, proposedDropOperation:op) | |
if op == NSTableViewDropAbove #is the proposed row going to be dropped between rows? | |
return NSDragOperationEvery | |
else | |
return NSDragOperationNone #it isn't between rows, deny the proposed drop | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment