• 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: Graham Cox <email@hidden>
  • Date: Mon, 03 Nov 2014 08:44:33 +1100

On 1 Nov 2014, at 8:38 pm, Luther Baker <email@hidden> wrote:

> How do I get an NSOutlineView row, designated as a "group" row, to reload
> itself?


You might be mistaking a group row for a "parent" row (these don't have a special name, but they're the ones that have turndown triangles that can open to show some contained content). A group row is really just a section heading, though these have a show/hide button that can disclose their content. For example, if you look in the source list in Mail, there's a group row at the top called 'MAILBOXES', whereas each mailbox has an icon and a turn-down triangle.

So, knowing what a group row *is*, it should be obvious that there's no content to reload - it's just a text label to mark off one section from another. If you want to reload a parent row, that's just done using the -reloadItem:reloadChildren: method as usual. To reload a group means reloading the item that contains it, most likely the root.

--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: Ken Thomases <email@hidden>
References: 
 >Editing NSOutlineView Group Item (From: Luther Baker <email@hidden>)

  • Prev by Date: Re: Text drop into other text apps
  • Next by Date: Re: Editing NSOutlineView Group Item
  • Previous by thread: Editing NSOutlineView Group Item
  • Next by thread: Re: Editing NSOutlineView Group Item
  • Index(es):
    • Date
    • Thread