cocoa - NSOutlineView with Drag and Drop -


I read other posts here on outline video and DND, but I can not do my work at the bottom of this post I have a zip of my project with only one outline view and button is very basic, I want it to remove text files, but there is something wrong with my code or connections. I tried following the example code of the apple of my NSOutline drag and drop, but I am missing something. 1 The difference is that my program is a document based program and is not an example. I have set the owner of the file to get delegate work, because it is where my code controls a drag and drop as well as a button action, it is probably a simple mistake, so please see it Can I tell you what I am doing?

"post-text" itemprop = "text">

You implemented data source drag-receptration methods, not the Outline View Data Source drag- Reception method A profile view is a type of table view, but it uses the outline view data source protocol exclusively; View table data source protocol only for table view data sources, not outline view data sources.

Look for more information depending on the need to implement in your data source.

On that note: You need to apply the methods in your data source, which currently do not have your documents. I do not know why you did this; Normally, the document (mostly in its role as a controller) is the owner of the model, so it should be a source of data source - the data source.

I suggest that merge the OutlineDetus class into a merge document class, and change the table view drag-reception methods into their profile-view counterparts.


Comments