Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
We have been able to use our mice to pick things up and drag them around desktops, windows, and other virtual environments for so long now that we take this ability for granted. As we gain more control over our virtual environments with touch screens, track pads, stylus inputs, and more, we become even more accustomed to being able to drag and drop everything from files to web pages to virtual tanks in a video game.
In this hour, we explore the various aspects of drag-and-drop programming on Mac OS X Lion, including when and where it’s applicable and how to write code to implement drag and drop in your own application.