Drag and Drop on a TableView, NSDraggingInfo error

Discussion in 'Mac Programming' started by BadWolf13, Nov 6, 2012.

  1. BadWolf13
    Expand Collapse
    macrumors 6502

    Joined:
    Dec 17, 2009
    #1
    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:

    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?
     
  2. chown33
    Expand Collapse
    macrumors 604

    Joined:
    Aug 9, 2009

Share This Page