Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Part IV. Building Advanced Mac Applicati... > Hour 22. Supporting Drag-and-Drop Be...

Hour 22. Supporting Drag-and-Drop Behavior


What you’ll learn in this hour:

Common Uses for Drag-and-Drop

• How to Create Drag-and-Drop Sources and Destinations

• Building Your Own Drag-and-Drop Application


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.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial