Re: Rearranging NSOutlineView via drag-and-drop
Re: Rearranging NSOutlineView via drag-and-drop
- Subject: Re: Rearranging NSOutlineView via drag-and-drop
- From: Charles Jenkins <email@hidden>
- Date: Mon, 05 Jan 2015 14:20:46 -0500
Thanks to everyone for the info about viewForTableColumn:item:. I overlooked it somehow in my search.
You're right, I do all the configuration in outlineView:viewForTableColumn:item:, but when I tested using reloadItem: on affected nodes of the tree, the disclosure triangles got updated but outlineView:viewForTableColumn:item: wasn't called and the images didn't change. I'll try again, though, and set a breakpoint to be sure. I realize it's more likely to be my bug than Apple's.
—
Charles
On Monday, January 5, 2015 at 14:08, Quincey Morris wrote:
> Thus, it shouldn’t be necessary to *find* the view — you should be doing the reconfiguration in ‘outlineView:viewForTableColumn:item:’.
_______________________________________________
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