Re: Drag and drop help wanted.
Re: Drag and drop help wanted.
- Subject: Re: Drag and drop help wanted.
- From: Fredrik Olsson <email@hidden>
- Date: Mon, 24 May 2004 21:53:26 +0200
Thank you very much, they where just what I searched for. I have the
basic functionality up and running, just the tweaks left.
I guess I was too blinded by the vastness of internet to even notice
what Apple provide locally with the developer tools :).
regards
Fredrik Olsson
2004-05-24 kl. 00.37 skrev mmalcolm crawford:
On May 23, 2004, at 1:51 PM, Fredrik Olsson wrote:
I have searched the web and Cocoa-dev archives for hints and good
examples of how to implement drag and drop nicely. Unfortunately
nothing I have found so far has given hints to any of the two
questions I have.
1. I want to let the user reorganise the items in a NSOutlineView
using drag and drop.
/Developer/Examples/AppKit/DragNDropOutlineView
2. When the user drags an item from my NSOutlineView to Finder I
would like to be able to dynamically create the destination
file(s)/folder(s) using only the drop targets path.
<http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSPasteboard.html>
[...]
NSFilesPromisePboardType Promised files
->
Dragging File Promises
<http://developer.apple.com/documentation/Cocoa/Conceptual/
DragandDrop/Tasks/DraggingFiles.html>
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.