About / Blog /

Suggested Reading
Air Lookout 1.4: All The Complications, Hello freelance!, My Favorite Podcasts, Kawasaki KLR 650 Rebuild Compilation

Thursday, April 4th

Using Drag and Drop with NSTableView

Nate Thompson (via mjtsai via danielpunkass):

I recently tried to implement drag and drop with NSTableView in a project and ran into a bunch of issues with finding resources that actually helped. Such is the life of a Cocoa developer. So here’s my attempt at the definitive guide to drag and drop with NSTableView. (This should also apply to NSOutlineView, since they work in a similar way.)

This is perfect. With a lot of history, it's sometimes hard to find the “correct modern” approach to certain Cocoa features. I will be referencing this a lot.