Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 6, 2012, 06:11 PM   #1
BadWolf13
macrumors 6502
 
Join Date: Dec 2009
Drag and Drop on a TableView, NSDraggingInfo error

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:

Quote:
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?
BadWolf13 is offline   0 Reply With Quote
Old Nov 6, 2012, 07:10 PM   #2
chown33
macrumors 603
 
Join Date: Aug 2009
Objective-C is case-sensitive.
chown33 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:35 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC