• 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
NSArrayController inside NSTreeController?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArrayController inside NSTreeController?


  • Subject: NSArrayController inside NSTreeController?
  • From: David Catmull <email@hidden>
  • Date: Wed, 4 Nov 2009 08:23:20 -0800

How would I use an NSArrayController to provide the content of one of the child items in an NSTreeController?

This is for a NSOutlineView source view, and each group in the source view contains different kinds of items. In some cases, I want them to be Core Data items, so the easiest way to manage that is to use an array controller.

I tried returning the array controller's arrangedObjects as the children of a group object, but when items are added they don't appear in the source view. I'm not sure where to go from there.

--
David Catmull
email@hidden
http://www.uncommonplace.com/

_______________________________________________

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: NSArrayController inside NSTreeController?
      • From: Matthew Lindfield Seager <email@hidden>
  • Prev by Date: Re: Programming hot key
  • Next by Date: NSPopUpButton, Bindings & separator items
  • Previous by thread: Re: Programmatic Binding KVC KVO
  • Next by thread: Re: NSArrayController inside NSTreeController?
  • Index(es):
    • Date
    • Thread