NSOutlineView with Drag and Drop

Posted by bob on Stack Overflow See other posts from Stack Overflow or by bob
Published on 2010-05-17T18:24:55Z Indexed on 2010/05/18 5:00 UTC
Read the original article Hit count: 350

I read the other post here on Outlineviews and DND, but I can't get my program to work. At the bottom of this post is a link to a zip of my project. Its very basic with only an outlineview and button. I want it to receive text files being dropped on it, but something is wrong with my code or connections. I tried following Apple's example code of their NSOutline Drag and Drop, but I'm missing something. 1 difference is my program is a document based program and their example isn't. I set the File's Owner to receive delegate actions, since that's where my code to handle drag and drop is, as well as a button action. Its probably a simple mistake, so could someone please look at it and tell me what I'm doing wrong? Here is a link to the file: http://www.4shared.com/file/or1A7aHk/OutlineDragDrop.html

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about nsoutlineview