• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drag and drop help wanted.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Drag and drop help wanted. (From: Fredrik Olsson <email@hidden>)
 >Re: Drag and drop help wanted. (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: @synchronized question
  • Next by Date: XCode doesn't like NSStringPboardType producing service? (aka What the..?)
  • Previous by thread: Re: Drag and drop help wanted.
  • Next by thread: build standalone app
  • Index(es):
    • Date
    • Thread