Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BadWolf13

macrumors 6502
Original poster
Dec 17, 2009
271
0
Hey guys, I'm trying to implement drag and drop reordering on a tableView, but when I try to implement this method in my delegate:

Code:
- (NSDragOperation)tableView:(NSTableView*)tv validateDrop:(id <nsdraggingInfo>)info proposedRow:(int)row proposedDropOperation:(NSTableViewDropOperation)operation

and build, I get this error:

Cannot find protocol declaration for nsdragginginfo

Every source I've looked at uses that method to implement drag and drop reordering, but no one has ever talked about that error, so I've no clue what's going on here. Anyone have any ideas?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.