Re: Drag-n-Drop in NSOutlineView
Re: Drag-n-Drop in NSOutlineView
- Subject: Re: Drag-n-Drop in NSOutlineView
- From: "Erik M. Buck" <email@hidden>
- Date: Fri, 9 Nov 2001 14:17:24 -0600
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
----- Original Message -----