Re: Drag-n-Drop in NSOutlineView
Re: Drag-n-Drop in NSOutlineView
- Subject: Re: Drag-n-Drop in NSOutlineView
- From: Bruce Sturgen <email@hidden>
- Date: Fri, 9 Nov 2001 14:14:51 -0600
Dang, didn't go far enough up the documentation tree.
Thanks, much.
On Friday, November 9, 2001, at 02:17 PM, Erik M. Buck wrote:
It is hardly a secret:
registerForDraggedTypes:
- (void)registerForDraggedTypes:(NSArray *)pboardTypes
Registers pboardTypes as the pasteboard types that the receiver will
accept
as the destination of an image-dragging session.
Registering an NSView for dragged types automatically makes it a
candidate
destination object for a dragging session. As such, it must properly
implement some or all of the NSDraggingDestination protocol methods.
As a
convenience, NSView provides default implementations of these methods.
See
the NSDraggingDestination protocol specification for details.
See Also: - unregisterDraggedTypes
_________________________________
Bruce E. Sturgen
Think Different!
ICQ: 120302101 AIM: bsturg3n
HAM AND EGGS - A day's work for a chicken; A lifetime
commitment for a Pig.