• 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: Trouble with dragging and file promises
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with dragging and file promises


  • Subject: Re: Trouble with dragging and file promises
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 7 Jan 2010 14:41:58 -0700

On Jan 7, 2010, at 2:34 PM, Dave DeLong wrote:

> And the promised files delegate method still isn't getting called.  (The entirety of my source code is pasted here:  http://pastie.org/770718 )

I don't know if it will help, but once upon a time, I solved this problem by subclassing NSBrowser and overriding -mouseDown: to do its own selection and dragging, and invoked a file promise drag by calling -dragPromisedFilesOfTypes:... It was certainly the long way of doing things, but it worked as far back as Jaguar. The problem is, file promise drags are still considered "special" by the OS, and creating them requires calling a special method.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Trouble with dragging and file promises (From: Dave DeLong <email@hidden>)
 >Re: Trouble with dragging and file promises (From: Nick Zitzmann <email@hidden>)
 >Re: Trouble with dragging and file promises (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: Trouble with dragging and file promises
  • Next by Date: Re: iPhone: validate a NSString for US zipcode
  • Previous by thread: Re: Trouble with dragging and file promises
  • Next by thread: ColorSpace Question
  • Index(es):
    • Date
    • Thread