Re: NSOutlineView Drag and Drop
Re: NSOutlineView Drag and Drop
- Subject: Re: NSOutlineView Drag and Drop
- From: Seth Willits <email@hidden>
- Date: Tue, 14 Sep 2010 20:20:24 -0700
On Sep 14, 2010, at 7:36 PM, email@hidden wrote:
> Other than
>
> - (NSDragOperation)outlineView:(NSOutlineView *)outlineView validateDrop:(id <NSDraggingInfo>)info proposedItem:(id)item proposedChildIndex:(int)index
>
> and
>
> - (BOOL)outlineView:(NSOutlineView *)outlineView acceptDrop:(id <NSDraggingInfo>)info item:(id)item childIndex:(int)index
>
> what do i need to implement so I can drag item within an NSOutline View?
That's the drop methods. You also need to implement the drag methods. There's another protocol for that. Also, you need to use the NSView method to register for dragged types.
--
Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden