Drag If You Want To
Wednesday, June 7th, 2006Handling drags to your Cocoa application is pretty simple: you just have to implement the informal NSDraggingDestination protocol in some view hierarchy object that has been registered for particular drag types. Usually a drag is handled by a specific view that can make sense of the drag’s data type. For instance, an NSTextView will accept [...]