• 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 09:13:21 +0200

On 1. May 2004, at 14:19, Tim Hewett wrote:

[...] a drop from one table view to the other requires different behaviour to
that for a drop from the Finder, and the problem I'm having in particular
is to do with having the table receiving the drop being able to tell the
difference to implement this different behaviour.

Sorry, I did not read all of your letter, so I hope the above was the essence of your problem. In performDragOperation you can send draggingSource to the sender argument to get the actual view which is sending the data. Have it e.g. implement some selector to identify itself, which you can then send from performDragOperation, or you can make use of the fact that source is nil when it is not in the same application.
_______________________________________________
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.


  • Follow-Ups:
    • Re: Promised file drag/drop catch 22?
      • From: Tim Hewett <email@hidden>
References: 
 >Promised file drag/drop catch 22? (From: Tim Hewett <email@hidden>)

  • Prev by Date: Re: bug in NSBundle pathForResource:ofType:inDirectory: ?
  • Next by Date: Re: OT? Why are list archive search results so lame?
  • Previous by thread: Promised file drag/drop catch 22?
  • Next by thread: Re: Promised file drag/drop catch 22?
  • Index(es):
    • Date
    • Thread