• 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 promised files to Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and drop promised files to Finder


  • Subject: Re: Drag and drop promised files to Finder
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 19 Aug 2003 18:51:24 -0700

On Tuesday, August 19, 2003, at 06:00 PM, Renaud Boisjoly wrote:

Buy, this is not as simple as it should be...

Any sample code out there I could look at?

Please join several of us here in filing bug reports on this issue. As things stand right now, doing file promise DnD with either NSTableView or NSOutlineView is very difficult to implement correctly, and more or less impossible to implement flawlessly.

I got it to "work" once by adding the -dragPromisedFilesOfTypes:... call in the NSTableView -tableView:writeRows:toPasteboard: data source method. But if this call returns NO, then the Objective-C message queue eventually freezes, and if it returns YES, then the application eventually crashes. The former can be worked around by clicking once in the application, but I wish it just worked.

Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page: http://seiryu.home.comcast.net/

"I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone." - Bjarne Stroustrup
_______________________________________________
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 promised files to Finder (From: Renaud Boisjoly <email@hidden>)

  • Prev by Date: Drag and drop promised files to Finder
  • Next by Date: Where's the green arrow-plus cursor?
  • Previous by thread: Drag and drop promised files to Finder
  • Next by thread: Re: Drag and drop promised files to Finder
  • Index(es):
    • Date
    • Thread