Re: Accepting drops on a tableview's tableheader
Re: Accepting drops on a tableview's tableheader
- Subject: Re: Accepting drops on a tableview's tableheader
- From: "Sean McBride" <email@hidden>
- Date: Fri, 20 Feb 2009 12:10:48 -0500
- Organization: Rogue Research Inc.
On 2/20/09 11:45 AM, I. Savant said:
> So, if Folder A has a child Folder B, and Folder B has a child
>Folder C, and the Finder is opened to Folder A's contents, dragging
>Folder C and holding it over the header, which means the drop will
>have "no target node"), you want Folder C to become a child of Folder
>A, and sibling of Folder B, right?
Right. And Finder 10.5.6 does move the files in this manner, but does
not redraw its outline view correctly.
> If this is the case, then in your
>-outlineView:acceptDrop:item:childIndex: method, you'll want to
>respond accordingly if "item" is nil. If it's nil, it needs to be a
>root item.
Neither outlineView:validateDrop:proposedItem:proposedChildIndex: nor
outlineView:acceptDrop:item:childIndex: are called when you drop on the
header. :(
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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