JLNDragEffectManager
25 November 2009
707 views
One Comment
Cocoa developers were treated to a nice Interface Builder makeover in version 3. One effect we’ve all been admiring is dragging an item from the Library palette onto a window. It’s actually not too hard and just takes a little showmanship. In this post Joshua Nozzi shows you how it’s done and provides sample code.
Read it and get code here










Hi, all. Very impressive turnout – seems I was right in guessing lots of Cocoa developers would love to know how this works. Even bad enough to brave the scary drag queen.
I have a followup post of which you might not be aware. It shows how I used this code to provide excellent UI feedback when creating a new document from dragged rows in a table:
http://joshua.nozzi.name/2009/11/drag-effect-in-action/
I hope this “giving back” effort helps some of you.
Leave your response!