• 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: Changing draggedImage in mid-drag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing draggedImage in mid-drag


  • Subject: Re: Changing draggedImage in mid-drag
  • From: Greg Titus <email@hidden>
  • Date: Mon, 17 Sep 2001 18:13:11 -0700

On Monday, September 17, 2001, at 05:04 PM, Don McConnell wrote:

Hello ...

fd> Apple cheats all over the place :-) [although the movie-
> dragging non-example isn't evidence of this]

What about icon dragging in the Dock? Not only does an icon
slide over to its new position, it _fades_in_ as well. Apple
folk appear to have more control over dragged images than
they seem willing to share.

Nah. The dock sliding animation as you drag is no problem because you can do whatever drawing you want in your own window due to -draggingUpdated:. The icon fading in happens _after_ you do the drop, and again is possible to do entirely within your own window drawing during -concludeDragOperation:.

There's no need to cheat when what you are doing is changing how _you_ draw due to a drag into you. (All sorts of feedback on incoming drags happens in various apps and it doesn't require cheating). The difficulty (and the original question) was in changing the actual image to be dragged in the middle of a drag _out_.

My advice would be: find some other way to give the feedback you want to give. I.e. don't do this. :-)

-Greg


References: 
 >Re: Changing draggedImage in mid-drag (From: Don McConnell <email@hidden>)

  • Prev by Date: Re: NSCell and IB
  • Next by Date: Re: Object Allocations
  • Previous by thread: Re: Changing draggedImage in mid-drag
  • Next by thread: A first stab at a schema (Was: Would Any Developers Use This? )
  • Index(es):
    • Date
    • Thread