• 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: NSImageView as a drag source - how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImageView as a drag source - how?


  • Subject: Re: NSImageView as a drag source - how?
  • From: David Remahl <email@hidden>
  • Date: Fri, 07 Jun 2002 10:22:37 +0200

> On Friday, June 7, 2002, at 01:02 AM, David Remahl wrote:
>
>> The trick is to write the file out quickly, and by a name that has not
>> been
>> used during the same session.
>
> Session as in "drag session", or...?
> I'm finding mixed results with that -- I have used (for testing
> purposes) the same temp filename throughout, and in some situations this
> does work.

Actually, I meant Finder session....I have found that to be true, at least
if the drag destination is the same (even though the first dragged file has
been deleted).

>> If the file is too large, so you cant write it out quickly enough, then
>> you are in trouble...I know of no solution to that problem.
>>
> I can get it to work fairly reliably for 5MB+ images on a 500MHz iBook...

Hmm, that sounds a bit larger than what I have managed...

/ David

PS. Apple really has to implement some mechanism that allows applications to
rpomise a file write and get the dragging destination back from the finder.
This is a must for any FTP app, for example. DS.

> 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.
_______________________________________________
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: 
 >Re: NSImageView as a drag source - how? (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: NSImageView as a drag source - how?
  • Next by Date: Re: Worker threads and UI threads
  • Previous by thread: Re: NSImageView as a drag source - how?
  • Next by thread: Re: NSImageView as a drag source - how?
  • Index(es):
    • Date
    • Thread