• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Editing NSOutlineView Group Item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editing NSOutlineView Group Item


  • Subject: Re: Editing NSOutlineView Group Item
  • From: Luther Baker <email@hidden>
  • Date: Sun, 02 Nov 2014 16:42:37 -0600

Indeed ... I was incorrectly using reloadDataForRowIndexes:columnIndexes:
... and not reloadItem:reloadChildren.

Thank you,
-Luther


On Sun, Nov 2, 2014 at 4:35 PM, Graham Cox <email@hidden> wrote:

>
> 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


  • Follow-Ups:
    • Re: Editing NSOutlineView Group Item
      • From: Luther Baker <email@hidden>
References: 
 >Editing NSOutlineView Group Item (From: Luther Baker <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Graham Cox <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Ken Thomases <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Editing NSOutlineView Group Item
  • Next by Date: Tracking Focus Between NSOutlineViews
  • Previous by thread: Re: Editing NSOutlineView Group Item
  • Next by thread: Re: Editing NSOutlineView Group Item
  • Index(es):
    • Date
    • Thread