• 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: Promised file drag/drop catch 22?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Promised file drag/drop catch 22?


  • Subject: Re: Promised file drag/drop catch 22?
  • From: Allan Odgaard <email@hidden>
  • Date: Sun, 2 May 2004 13:35:12 +0200

On 2. May 2004, at 11:08, Tim Hewett wrote:

Thanks for the suggestion, it wasn't one spotted as a possibility to
this point. There is a problem though [...]

I see... but is sender also the proxy when dragging happens from Finder? cause here it should be nil. Although not very "encapsulated", an alternatively is to set a boolean (accessible from the potential destination) to true before calling dragPromisedFilesOfTypes:...

[...] So far the only information which appears to be
available to the dragging source once the promised drag has been
dropped is the URL returned by the dragging destination, the point
at which the drag is dropped (which *could* be used too determine
if the drop occurred in any of your app's windows, though this seems
to involve quite a messy conversion of coordinate systems),

Why with the coordinate system? I guess the destination could provide an URL like file:///tmp/my_appname_<unique_id>/ which would indicate it...

Btw: what special handling needs to happen when the drag is local?






--
et al: used as an abbreviation when referring to a number of people, for
example: "It has been improved by Knuth et al." [syn: and others, et alii]

etc: continuing in the same way [syn: and so forth, and so on, et cetera].
_______________________________________________
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: 
 >Promised file drag/drop catch 22? (From: Tim Hewett <email@hidden>)
 >Re: Promised file drag/drop catch 22? (From: Allan Odgaard <email@hidden>)
 >Re: Promised file drag/drop catch 22? (From: Tim Hewett <email@hidden>)

  • Prev by Date: RE: Incoming Msg
  • Next by Date: Re: NSTextView binding redisplay
  • Previous by thread: Re: Promised file drag/drop catch 22?
  • Next by thread: Re: NSImage allocation issues [UPDATE]
  • Index(es):
    • Date
    • Thread