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 protected]
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to