On Jan 4, 2015, at 7:22 AM, Charles Jenkins <cejw...@gmail.com> wrote:

> moveItemAtIndex:… does indeed move the items around to the proper places in 
> the tree, but the outline view control doesn’t update disclosure triangles. 
> Meaning, if I drag an item’s only child someplace else, the now-childless 
> parent keeps its useless disclosure triangle. Worse, if I drop a new child 
> onto an item that formerly did not have children, the needed disclosure 
> triangle doesn’t appear, and then there’s no way in that session to 
> manipulate the child item again.

Did you call -moveItemAtIndex:… after making changes to your model such that 
the data source provides the new values from -outlineView:isItemExpandable: and 
-outlineView:numberOfChildrenOfItem:?

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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

This email sent to arch...@mail-archive.com

Reply via email to