Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 6, 2012, 07: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, 08: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

Similar Threads
thread Thread Starter Forum Replies Last Post
[Mac App Store] Introducing Yoink - take the drag out of drag and drop m.gansrigler Mac Applications and Mac App Store 34 Nov 11, 2014 01:50 PM
Speedgrade drag and drop sfxguy Digital Video 5 Apr 1, 2013 08:14 PM
Drag and drop to desktop gianthobbit OS X 3 Dec 11, 2012 10:06 AM
Help ! no drag and drop in bootcamp caughtintheweb MacBook 2 Oct 29, 2012 03:31 PM
Simple drag and drop truehybridx Mac Programming 1 Jun 4, 2012 05:00 PM

Forum Jump

All times are GMT -5. The time now is 06:35 PM.

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

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