Re: Editing NSOutlineView Group Item
Re: Editing NSOutlineView Group Item
- Subject: Re: Editing NSOutlineView Group Item
- From: Graham Cox <email@hidden>
- Date: Mon, 03 Nov 2014 09:35:12 +1100
On 3 Nov 2014, at 9:18 am, Ken Thomases <email@hidden> wrote:
> This is not correct. Group items are items for which the delegate returns YES from -outlineView:isGroupItem:. They can have children or not.
Yes, my misunderstanding - I've only used group rows for section labelling (no children).
> All of the mentions of reloading a _row_ in the above show the misunderstanding.
Yup. Though NSOutlineView subclasses NSTableView, the table view methods shouldn't be used for reloading where a special outline view method has been provided. That would be -reloadItem:reloadChildren:
--Graham
_______________________________________________
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